add_text
Add titles, captions, or text overlays to a CapCut video draft by setting text, start time, duration, position, size, color, font, and optional intro/outro effects.
Instructions
Добавить текст (заголовок, надпись) поверх видео.
start/duration — в секундах. size — размер шрифта (8 — обычный, 12–15 — крупный заголовок, 5 — как субтитры). color/background_color/outline_color — '#RRGGBB'. y: 0 — центр, 0.8 — сверху, -0.8 — снизу. font, intro, outro — названия из list_effects (fonts / text_intro / text_outro).
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": {
"draft": "<draft>",
"text": "<text>",
"start": "<start>",
"duration": "<duration>"
},
"name": "add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| bold | No | ||
| font | No | ||
| size | No | ||
| text | Yes | ||
| color | No | #FFFFFF | |
| draft | Yes | ||
| intro | No | ||
| outro | No | ||
| start | Yes | ||
| italic | No | ||
| duration | Yes | ||
| outline_color | No | ||
| background_color | No |