caption_video
Start captioning local videos or folders with animated captions, then poll the returned job ID for completion.
Instructions
Start captioning one local video or a folder. Returns a job ID immediately; poll get_job. API recognition sends audio, AI edits send text, and MP4 rendering remains local. captions_path reuses an existing SRT/VTT/JSON without recognition. Original video is preserved.
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": {
"input_path": "<input_path>",
"output_dir": "<output_dir>"
},
"name": "caption_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| burn | No | ||
| size | No | medium | |
| engine | No | auto | |
| length | No | medium | |
| correct | No | ||
| glossary | No | ||
| language | No | ||
| position | No | bottom | |
| style_id | No | word-highlight | |
| overrides | No | ||
| overwrite | No | ||
| safe_area | No | tiktok | |
| input_path | Yes | ||
| output_dir | Yes | ||
| translate_to | No | ||
| captions_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||