Add a subtitle track in another language
add_subtitle_trackSubtitles in ANOTHER language over the SAME delivered piece — not a rendition: the voice, the visuals and the video stay as they are. The delivered video's own subtitle track (the narration with its real timings) is translated cue by cue with the same timings and saved next to that video; the piece's delivery package then lists it as SRT and VTT. burn=true also makes a VARIANT of the video with the track burned in (in the background): at the bottom when the video carries no burned track, at the TOP when it already burns its own at the bottom (both stay visible). The language only has to be one the house can declare (it reads or writes it): a language nobody narrates (e.g. Haitian Creole, ht) cannot be the VOICE of a piece, and this is the way to deliver it as subtitles. Two steps, for every caller: without confirm_spend it only prices the translation (quote.estimateUsd) and nothing is translated or written (outcome: cotizada); with confirm_spend=true it translates, saves and charges that price. outcome is typed (outcomeExplained). Requires write. Spends LLM budget on the translation of the track and debits its quoted price from the wallet in the same call (cents for a typical piece).
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": {
"project_id": "<project_id>",
"language": "<language>"
},
"name": "add_subtitle_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| burn | No | Also make a video with the track burned in (a variant; the delivered video is not replaced). Default false. | |
| language | Yes | BCP-47 language of the subtitles (ht, fr, pt-BR…). | |
| project_id | Yes | The project whose delivered video gets the track (a rendition is its own project). | |
| include_srt | No | Return the SRT text in the answer (the delivery package carries it in any case). Default false. | |
| confirm_spend | No | True translates, saves and charges the quoted translation (after reading `quote` and the person's yes); omitted or false only returns the quote. |