Draft captions from a script
script_to_srtGenerate an SRT caption file from a script with estimated timing, creating a placeholder caption track for the timeline before the voiceover exists or a starting point to re-sync later.
Instructions
Generate an SRT caption file from the script with estimated timing — a placeholder track to drop on the timeline before the voiceover exists, or a starting point to re-sync later. reels style = 1–3 words per caption; standard = up to 42 characters. Stage directions are skipped.
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": "script_to_srt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wpm | No | Custom words per minute (overrides pace). Measure yours with estimate_duration + actual_seconds. | |
| pace | No | slow 130 · conversational 150 · energetic 170 (typical Reels/TikTok) · fast 190 words per minute. | energetic |
| path | No | Or a local .txt / .md file. ~ is expanded. | |
| text | No | The script text. | |
| style | No | reels | |
| max_chars | No | ||
| max_words | No | ||
| overwrite | No | ||
| uppercase | No | ||
| output_path | No | Save as .srt. | |
| offset_seconds | No | Start the first caption this many seconds in. |