Fix captions
fix_captionsDestructiveIdempotent
Fix caption words (a misheard name) or the key-word colour of a finished video, without a new edit; timing stays. Either rewrite lines (from and to are source word numbers from get_transcript) or swap words everywhere with replace: [{ heard, spelled }] (brand names, people). Each spoken word keeps a caption word. 5 a day per video. Cost: Free: no credits.
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": {
"video_id": "<video_id>"
},
"name": "fix_captions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | The key words' colour. | |
| lines | No | The caption lines to rewrite (from, to: source word numbers from get_transcript; text). | |
| replace | No | Swap words everywhere they appear, e.g. a brand name: [{ heard: "Clip Mint", spelled: "ClipMint" }]. | |
| video_id | Yes | The video id from list_videos. | |
| base_version | No | The version to fix; the live one when left out. | |
| operation_id | No | Same id retries run once. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| cost | No | ||
| error | No | ||
| state | No | ||
| status | No | ||
| dry_run | No | ||
| message | No | ||
| plan_id | No | ||
| style_id | No | ||
| video_id | No | ||
| available | No | ||
| import_id | No | ||
| output_id | No | ||
| studio_url | No | ||
| version_id | No |