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