Transcribe a recording into text and captions
transcribe_mediaTranscribes one audio or video file the user owns or may use into timestamped text with SRT and VTT captions. Best for: "transcribe this podcast episode", "make subtitles for my video", "what is said in this file". Returns: language, length, timestamped segments, SRT and VTT (trim with include), transcript_id, expires_at (kept 24 hours, the media is never kept), minutes left today, and library_id when the caller has no user id. Input tips: give file (an upload) or url (a public YouTube, TikTok, Instagram or other social video, or a direct media link), not both. Set confirm_rights true only after the user says they own the recording or have the rights (a public social video needs none); otherwise ask. Pass library_id from an earlier answer to keep transcripts in one library. Not for: private videos, over 15 MiB (15,728,640 bytes) or 15 minutes, whole channels. Formats: mp3, m4a, mp4, wav, ogg, flac, webm. Daily minute allowance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"confirm_rights": "<confirm_rights>"
},
"name": "transcribe_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Link to a public YouTube video (its captions are read, such as https://www.youtube.com/watch?v=W3Fq5wiAAcw), a public video on TikTok, Instagram, Facebook, X, Vimeo or another social platform (its audio is read and transcribed), or a direct link to an audio or video file, such as https://example.com/talk.mp3. Give this or file, not both. | |
| file | No | An audio or video file the user uploaded to the chat (ChatGPT fills this in), up to 15 MiB (15,728,640 bytes). Give this or url, not both. | |
| title | No | Name to show for the transcript (default: the file name). | |
| include | No | What to return besides the summary (default all three): timestamped segments, SRT captions, VTT captions. | |
| language | No | Spoken language as an ISO 639-1 code such as en or fr. Leave out to detect it. | |
| library_id | No | Leave out on the first transcription. Pass the library_id from an earlier transcribe_media answer, such as lib_9b6a98861ea4f54bff8f5cf1, to add this transcript to that same library, so search_transcripts finds both together. | |
| confirm_rights | Yes | true, and only after the user has said they own this recording or have the rights to transcribe it; the text "true" is read as true. false is refused with rights_not_confirmed (ask the user first), except for a link to a public video on a social platform, which needs no statement. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| srt | No | SRT captions with numbered cues (when include has srt). | |
| vtt | No | WebVTT captions (when include has vtt). | |
| as_of | Yes | The UTC day of the answer, such as 2026-10-10. | |
| model | Yes | The speech model, such as @cf/openai/whisper-large-v3-turbo. | |
| notes | Yes | ||
| title | Yes | The title given, or the file name. | |
| usage | Yes | ||
| source | Yes | ||
| status | Yes | ok: the file was transcribed. A refused call returns no object, only an error text such as "transcript_not_found: ..." that says what to do next. | |
| partial | No | True when only the first covered_seconds of a longer recording were transcribed within the 30-second interactive call budget. | |
| language | Yes | Spoken language as an ISO 639-1 code, such as en. | |
| segments | No | Timestamped stretches of speech (when include has segments). | |
| expires_at | Yes | When the transcript is deleted, as an ISO 8601 UTC time. | |
| library_id | No | A string when the caller has no ChatGPT user id: pass it as library_id to the other tools and to later transcribe_media calls. null otherwise. | |
| word_count | No | Words in the transcript. | |
| transcript_id | Yes | Id of a saved transcript, for suggest_clips and translate_subtitles. | |
| covered_seconds | No | Seconds of audio transcribed when partial is true. | |
| duration_seconds | Yes | Length of the recording, in whole seconds. |