add_text_overlay
Add text captions or titles to videos, optionally restricting display to a specific time range.
Instructions
Burn text (e.g. a caption or title) onto a video, optionally only during a time range.
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_path": "<output_path>",
"text": "<text>"
},
"name": "add_text_overlay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| end_time | No | Seconds when the text should disappear | |
| position | No | bottom | |
| font_size | No | ||
| font_color | No | Any ffmpeg color name or hex, e.g. "white" or "0xFF0000" | white |
| input_path | Yes | Source video path. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. | |
| start_time | No | Seconds when the text should appear (omit to show for the whole video) | |
| output_path | Yes | Destination path. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. |