Turn burned-in captions on or off, or change their look
set_captionsChanges the captions the next render burns into the video. Only what you pass changes. Turning them on without a style picks clean at the bottom, size m, with um and uh left out, which suits most episodes.
Styles: clean (white text with a soft outline, classic subtitles), boxed (on a dark box, the most legible), bold (a few big words at a time, the word being said lit up; the short-form look). Sizes: m suits a long episode, s is smaller, l and xl are bigger (xl is the size for short clips).
Burned-in captions can't be taken out of a rendered video, so only turn them on when the user asks. This doesn't change the existing video: render_episode afterwards (with the user's OK), or pass captions to render_episode instead. Spelling mistakes in the captions are fixed in the transcript with fix_transcript.
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": {
"jobId": "<jobId>"
},
"name": "set_captions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | ||
| size | No | ||
| jobId | Yes | The episode's id (jobId), as returned by create_episode or list_episodes. | |
| style | No | ||
| accent | No | Bold's highlight colour as hex ("#ffd400"); "default" for the style's own. | |
| fillers | No | drop (default) leaves um and uh out of the captions. | |
| position | No | lower sits about 70% down, clear of a busy bottom. | |
| highlight | No | Bold only: false keeps every word white instead of lighting the word being said. The accent colour is kept for when it's back on. | |
| speakerColors | No | Each speaker's words in their own colour. | |
| speakerPalette | No | With speakerColors: your own colour per speaker, by speaker label (SPEAKER_00 and so on, as get_speaker_mapping lists them), as hex: { "SPEAKER_00": "#ffe48a" }. Replaces the whole map; speakers left out keep their default colour, {} clears it. Colours too dark to read on video are lightened when drawn. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fixes | Yes | ||
| captions | Yes | ||
| available | Yes | The episode has a transcript, so captions can be turned on. | |
| unavailableReason | Yes |