Whisper transcription with speaker diarization (8M+ runs) โ returns who said what, with per-segment speaker labels and timestamps. The go-to for meetings and interviews.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "thomasmol/whisper-diarization",
"input": {
"file_url": "https://example.com/interview.mp3",
"num_speakers": 2,
"language": "ko",
"prompt": "์ฝ์ด๋ทํฌ๋ฐ์ด, API, ํฌ๋ ๋ง"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | No | - | Names, acronyms, and loanwords to improve accuracy |
file_string | string | No | - | Either provide: Base64 encoded audio file, |
file_url | string | No | - | Direct audio file URL (use this, or 'file' upload) |
file | string | No | - | Or an audio file |
num_speakers | integer | No | - | Number of speakers. Leave empty to auto-detect |
translate | boolean | No | false | Translate the speech into English |
language | string | No | - | Language code like 'ko', 'en'. Empty auto-detects |
Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
Transcribe with speaker labels for two speakers
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "thomasmol/whisper-diarization",
"input": {
"file_url": "https://example.com/interview.mp3",
"num_speakers": 2,
"language": "ko",
"prompt": "์ฝ์ด๋ทํฌ๋ฐ์ด, API, ํฌ๋ ๋ง"
}
}'POST /v1/predictions