Add text overlay
add_text_overlayDraw text on videos for captions, titles, or labels, with options for position, font, color, and time range.
Instructions
Draw text on the video (caption, title, label). Optionally limited to 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>",
"text": "<text>"
},
"name": "add_text_overlay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | No | Draw a semi-transparent dark box behind the text (default true) | |
| end | No | Hide the text after this time | |
| text | Yes | The text to draw | |
| start | No | Show the text starting at this time | |
| position | No | Where to place the text (default bottom-center) | |
| font_size | No | Font size in pixels (default 48) | |
| font_color | No | Text color, e.g. white, black, yellow, #ff0000 (default white) | |
| input_path | Yes | Path to the source video | |
| output_path | No | Where to write the result |