Transcribe
transcribeTranscribe speech in a video or audio file to captions with Workers AI Whisper (large-v3-turbo); returns SRT, VTT or JSON with word timestamps (format). Paid: 1 credit per audio minute (1 credit = 1 cent); a short balance gets 402 insufficient_balance (requiredCents, balanceCents, checkoutUrl) and no job starts. Use it when you only need the text or want to edit it before burning (then edit_transcript -> burn_captions). For burned-in subtitles in one call use caption_video; for highlights use create_clips. Audio is extracted to 16 kHz mono (video frames are not decoded). Language defaults to auto-detect; the saved glossary is applied. Results are cached per key, language, format and duration; another key cannot read them.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "transcribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | Id from upload {action:'start'}, upload {action:'inline'}, or POST /v1/uploads. | |
| format | No | Default json, including word timestamps. | |
| api_key | No | Only for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared. | |
| glossary | No | Names and terms. Used as the Whisper prompt and to fix close spellings. Included in the transcription price. | |
| language | No | BCP-47 language, or omit for auto. | |
| mediaUrl | No | HTTPS URL of the audio or video file. | |
| maxCredits | No | Refuse the job when the debit would exceed this many cents. | |
| webhookUrl | No | Public https URL. POSTed an HMAC-signed JSON body when the job finishes. Three tries. | |
| notifyEmail | No | Optional completion email. Free. Needs the email binding. | |
| durationSeconds | No | Optional duration hint used before probe. | |
| useSavedGlossary | No | Default true: also apply the saved glossary (update_glossary {action:'save'}) with its alias fixes, e.g. 'awesome video' -> 'AwesomeVideo'. Free. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Job id: pass it to get_job, resume_job, edit_transcript or as transcriptionJobId. | |
| kind | No | Job kind (transcribe, burn, caption, clips, shorts, trim, dub, translate, preview, metadata...). | |
| step | No | Current pipeline step while running. | |
| error | No | Failure reason when status is failed. | |
| result | No | Result when succeeded: url, files[{name, url}], clips, text... | |
| status | No | queued, running, succeeded or failed. | |
| progress | No | Progress (0-1) and ETA while running. | |
| warnings | No | Non-blocking notes. | |
| costCents | No | Credits charged (1 credit = 1 cent). | |
| expiresAt | No | When the result files are deleted. | |
| refundedCents | No | Credits refunded after a failure. |