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.
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 |