caption_video
Transcribes a video's speech, adds styled animated word-by-word captions, and saves the captioned file next to the source; returns its path and project ID.
Instructions
Adds animated word-by-word captions to a video: transcribes the speech, styles it with a look, and saves the captioned video next to the source. Returns its path and a project id for follow-ups (get_transcript, fix_words, set_style, save_video). If it takes longer than the call allows, it returns a ticket: pass it to check_progress.
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": {
"source": "<source>"
},
"name": "caption_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| look | No | A built-in look (list_looks): Purple Punch, Bold, Plain, Karaoke, Paper, Boom, Lyric, Stickers, Cinema, Terminal, Neon, Typewriter, Handwritten, Pop, Cascade, Slam, Poster, Title Card, Editorial | |
| model | No | A speech model id the server offers; its default if left out. Without a server, parakeet-ultra only | |
| style | No | Style settings over the look (describe_style lists every one) | |
| format | No | mp4 (the default), mp4-hevc, webm or mov (ProRes) | |
| output | No | Where to write the file. Default: next to the source, named <name>.captioned | |
| source | Yes | A video file path, or a direct http(s) link to one | |
| language | No | ISO 639-1 code, or auto (the default) | |
| frame_rate | No | Frames per second, or the source's | original |
| resolution | No | The short side in pixels, or the source's | original |
| captions_only | No | The captions alone over solid green, with no sound, to key out in Remotion or a video editor |