burn_captions
Transcribe audio and burn word-timed captions on videos, with custom chunk options and Hebrew RTL support.
Instructions
Burn word-timed captions onto a video (local path, URL, or PiAPI task_id).
Default flow transcribes the video's OWN audio with ElevenLabs Scribe (word
timestamps), groups words into short chunks (max_words per caption), and
burns styled overlays: white bold, black stroke, drop shadow, centered
low-third, Hebrew rendered in correct RTL visual order (English/brand
tokens stay LTR). Pass captions ([{text, start, end}]) to skip Scribe and
burn exact chunks; style overrides (font_px, y_pct, fill, crf, font_path...).
Run AFTER verify_generated_audio passes and BEFORE stitch_videos.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "burn_captions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| video | No | ||
| task_id | No | ||
| captions | No | ||
| language | No | he | |
| max_words | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||