curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "elevenlabs/stt/scribe-v2",
"input": {
"audio_url": "https://cdn.vidgo.ai/apis/models/elevenlabs/stt/scribe-v2/v1/01/input-audio.mp3",
"language_code": "es",
"tag_audio_events": true,
"diarize": true,
"keyterms": [
"chilhuacle",
"mole negro",
"comal"
]
}
}
'{
"code": 200,
"data": {
"task_id": "task-example-001",
"status": "not_started",
"created_time": "2026-11-25T10:30:00"
}
}{
"detail": "audio_url is required"
}{
"detail": "audio_url is required"
}ElevenLabs
ElevenLabs Scribe v2
The ElevenLabs Scribe v2 API transcribes audio or video up to 120 minutes into text with word timestamps, speaker labels, audio event tags and keyterms.
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "elevenlabs/stt/scribe-v2",
"input": {
"audio_url": "https://cdn.vidgo.ai/apis/models/elevenlabs/stt/scribe-v2/v1/01/input-audio.mp3",
"language_code": "es",
"tag_audio_events": true,
"diarize": true,
"keyterms": [
"chilhuacle",
"mole negro",
"comal"
]
}
}
'{
"code": 200,
"data": {
"task_id": "task-example-001",
"status": "not_started",
"created_time": "2026-11-25T10:30:00"
}
}{
"detail": "audio_url is required"
}{
"detail": "audio_url is required"
}- After submission, a
task_idwill be returned. If you provided acallback_url, when the task status becomesfinishedorfailed, a POST request will be sent to thecallback_url. - Regardless of whether
callback_urlis provided, you can retrieve the result through the unified Query Task Status endpoint.
Models
- elevenlabs/stt/scribe-v2 — ElevenLabs Scribe v2 speech to text for audio or video up to 120 minutes.
Features
- Automatic language detection, or a fixed
language_code. - Word-level start and end times in seconds.
- Speaker diarization with a
speaker_idon every word. - Audio event tags for non-speech sounds.
- Keyterm prompting for up to 100 names or terms.
Required parameters
audio_url(string): Audio file or video with an audio track, up to 100 MB and 120 minutes, as a publicly accessible HTTP(S) URL.
Optional parameters
language_code(string): ISO 639-1 or ISO 639-3 code, such asenoreng. Omit it to detect the language.tag_audio_events(boolean): Tag sounds such as laughter or applause. Defaulttrue.diarize(boolean): Label words by speaker. Defaulttrue.keyterms(string[]): Up to 100 terms, each up to 50 characters, to spell correctly.
Output
A finished task returns the transcript in two places:data.outputin Query Task Status and the callback payload:text(full transcript),text_truncated,language_code(detected language as ISO 639-3, such asspa),language_probabilityandtranscript_url.data.files[0]: the sametranscript.jsonfile (file_type: other,content_type: application/json).
Finished status response
{
"code": 200,
"data": {
"task_id": "IPS7Y2J0Y6MZGLME",
"status": "finished",
"files": [
{
"file_url": "https://cdn.vidgo.ai/apis/models/elevenlabs/stt/scribe-v2/v1/01/transcript.json",
"file_type": "other",
"format": "json",
"content_type": "application/json",
"file_name": "transcript.json"
}
],
"output": {
"text": "Primero calentamos el comal sin aceite. Los chiles chilhuacle se tuestan apenas unos segundos por lado. …",
"text_truncated": false,
"language_code": "spa",
"language_probability": 1.0,
"transcript_url": "https://cdn.vidgo.ai/apis/models/elevenlabs/stt/scribe-v2/v1/01/transcript.json"
},
"created_time": "2026-11-25T17:07:21",
"error_message": null,
"progress": 100
}
}
transcript.json lists every word with start and end in seconds, type (word, spacing or audio_event) and speaker_id:
transcript.json
{
"text": "Primero calentamos el comal sin aceite. …",
"language_code": "spa",
"language_probability": 1.0,
"words": [
{
"text": "Primero",
"start": 0.12,
"end": 0.52,
"type": "word",
"speaker_id": "speaker_0"
},
{
"text": " ",
"start": 0.52,
"end": 0.6,
"type": "spacing",
"speaker_id": "speaker_0"
},
{
"text": "calentamos",
"start": 0.6,
"end": 1.18,
"type": "word",
"speaker_id": "speaker_0"
}
]
}
Examples
- Spanish recording with keyterms:
language_code: es, diarization and event tagging on, and three regional terms inkeyterms. - Auto-detected language from a video: only
audio_urlpointing to an MP4, with acallback_url.
Notes
- The media is measured at submission. Files over 100 MB or 120 minutes, files that cannot be downloaded or read, and videos with no audio track return 400.
- Credits are charged at submission on the media duration rounded up to whole seconds (at least 1 second). A non-empty
keytermslist uses a higher per-minute rate; an empty list is ignored. A failed task is refunded in full. See the pricing page for current rates. - Unknown fields in
input, alanguage_codeoutside 2–3 letters, more than 100 keyterms or a keyterm longer than 50 characters return 400.
Authorizations
Use Authorization: Bearer VIDGO_API_KEY. Create a key in Dashboard → API Key (https://vidgo.ai/apis/dashboard/api-key).
Body
application/json