Burn subtitles into video
burn_subtitlesQueue a video to be downloaded with subtitles burned into the picture. This costs 3x (default), 4x (hd) or 5x (uhd) the video length in minutes, plus 1x per translated language: tell the user the cost and get their go-ahead before calling. Returns the job id, its duration in seconds and the minutes it takes (null when the length is not known yet); poll get_transcription until state is done, then read the burned_video_url field for the download link (valid for 1 hour; a new get_transcription call gives a fresh one). Quality applies to the output video resolution: default = 720p, hd = 1080p, uhd = 4K. Pass target_languages (max 10, e.g. ["Spanish", "French"]) to also produce one burned video per translated language: each appears in the result's translations array with its own burned_video_url. Extra languages add processing time, since every language is a full re-encode, and each one adds 1x the video length to the account's minute usage on top of the quality multiplier. font_size sets the subtitle text size (default ≈7% of video height, large ≈10%, xl ≈12.5%); background draws a semi-transparent black box behind the subtitles for readability (off = white text with a black outline). tag_audio_events marks non-speech audio with tags like (laughter) or [music]; off by default, and the tag language may not match the video's. lyrics (songs, off by default) builds the subtitles from the song's published lyrics, showing every line where several singers sing at once; the result's lyrics_status is applied when it did, otherwise the subtitles are the usual ones.
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": {
"url": "<url>"
},
"name": "burn_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Link to one YouTube video: youtube.com/watch?v=<id>, youtu.be/<id>, or a /shorts/, /live/ or /embed/ link (m.youtube.com works too). Playlist and channel links are refused; use `get_playlist` and `transcribe_playlist` for those. | |
| lyrics | No | For songs: build the subtitles from the song's published lyrics, timed on the audio, so every line shows where several singers sing at once. Off by default. Falls back to normal subtitles when no lyrics are found or they do not match; `lyrics_status` on the result says which happened. No extra cost. | |
| quality | No | Output resolution of the burned video, which sets the cost: `default` = 720p at 3x the video length in minutes, `hd` = 1080p at 4x, `uhd` = 4K at 5x. | default |
| verbatim | No | Keep filler words (um, uh), false starts and repetitions instead of cleaning them up. Off by default. Same cost either way. | |
| font_size | No | Subtitle text size: `default` is about 7% of the video height, `large` about 10%, `xl` about 12.5%. | default |
| background | No | Draw a semi-transparent black box behind the subtitles for readability. Off = white text with a black outline. | |
| language_code | No | The video's spoken language as an ISO-639-1 or ISO-639-3 code, e.g. "en", "es" or "yue"; a region subtag is dropped ("en-US" is "en"). Omit to auto-detect. Set it when the language is known: it improves accuracy and keeps the right alphabet. | |
| tag_audio_events | No | Mark non-speech audio with tags like (laughter) or [music]. Off by default: the transcriber picks the tag language itself and it may not match the video's. | |
| target_languages | No | Also translate the subtitles into these languages, as names in English, e.g. ["Spanish", "French"]. At most 10. Each language adds 1x the video length to the minutes used, so confirm the cost with the user before asking for several. |