capcut_add_text
Add a text overlay to a CapCut draft using a template with a text layer. Specify text, position, color, duration, and timing.
Instructions
Add a text overlay. Requires a text template (a draft with a text layer; see CAPCUT_TEMPLATE_DRAFT).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posX | No | ||
| posY | No | ||
| text | Yes | ||
| atSec | No | omit to append right after the last text on the target track | |
| color | No | hex e.g. #ffffff | |
| draft | Yes | ||
| durSec | No | ||
| fontSize | No | ||
| trackIndex | No |