Get captions (SRT) for a generation
get_captionsGet subtitles for a generation as an SRT file — timed from the actual speech, with any [emotion] markup and pauses stripped out. phrase mode gives readable subtitle lines; word mode gives one cue per word (karaoke-style highlighting). Use the id returned by generate_speech.
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": {
"id": "<id>"
},
"name": "get_captions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The generation id returned by generate_speech | |
| mode | No | phrase (default): readable subtitle lines. word: one cue per word, for karaoke-style captions. | |
| max_words | No | Words per subtitle line in phrase mode (2–7, default 4) | |
| uppercase | No | UPPERCASE the caption text (default false) |