add_text
Insert a text overlay into a CapCut project at a specific time, with options for duration, font, color, and alignment.
Instructions
Add a text overlay to the project at a specific time.
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": {
"project_name": "<project_name>",
"content": "<content>"
},
"name": "add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Text color as hex string (e.g., "#FFFFFF" for white, "#FF0000" for red). | #FFFFFF |
| content | Yes | The text content to display. | |
| start_ms | No | When the text appears on the timeline (milliseconds). | |
| alignment | No | Text alignment — 0=left, 1=center, 2=right. Default 1 (center). | |
| font_size | No | Font size. Default 15.0. | |
| duration_ms | No | How long the text stays visible (ms). Default 3000 (3s). | |
| project_name | Yes | Name of the CapCut project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |