generate_captions
Create burned-in captions from narration audio, with word-level timing from Whisper and karaoke highlights for Shorts.
Instructions
Build burned-in captions from the narration audio. Uses whisper word timestamps when available (mlx_whisper or whisper CLI), otherwise proportional timing. Shorts get karaoke word-highlight. Run after generate_narration.
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": {
"projectId": "<projectId>"
},
"name": "generate_captions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | Caption placement; default center for shorts (bottom stays clear of the Shorts UI), bottom for long | |
| projectId | Yes | ||
| highlightColor | No | Hex RGB (e.g. FFD700) for the karaoke word fill; default gold on shorts |