comp_add_text
Add text overlays to video compositions at percentage-based positions, with controls for timing, color, font, and alignment.
Instructions
Add a text overlay with percentage positions.
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": {
"comp_id": "<comp_id>",
"text": "<text>",
"start": "<start>",
"duration": "<duration>",
"x_pct": "<x_pct>",
"y_pct": "<y_pct>"
},
"name": "comp_add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| align | No | center | |
| color | No | #FFFFFF | |
| start | Yes | ||
| w_pct | No | ||
| x_pct | Yes | ||
| y_pct | Yes | ||
| comp_id | Yes | ||
| bg_color | No | transparent | |
| duration | Yes | ||
| font_family | No | ||
| font_size_px | No |