Add Text to CapCut Draft
capcut_add_textAdd text overlays (titles, captions, lower-thirds) to a CapCut draft with styling for font, color, shadow, background, and multi-color segments. Confirms addition.
Instructions
Add a text element (title, caption, lower-third, etc.) to an existing draft's timeline.
Args:
draft_id (string, required): From capcut_create_draft.
text (string, required): The text content.
start/end (number, seconds): Time range the text is visible.
font, font_size, font_color: Basic styling.
shadow_enabled/shadow_color/shadow_alpha: Drop shadow.
background_color/background_alpha/background_round_radius: Background panel behind the text.
text_styles: Array of {start, end, font_color} for multi-color segments within the same text block.
extra_params: Any additional VectCutAPI field not modeled above.
Returns: JSON confirming the text element was added, including which optional features were used.
Don't use when: you need burned-in subtitles from an SRT file — use capcut_add_subtitle instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End time in seconds within the timeline. | |
| font | No | Font family name (e.g. 'Source Han Sans'). | |
| text | Yes | The text content to display. | |
| start | No | Start time in seconds within the timeline. | |
| draft_id | Yes | The draft_id returned by capcut_create_draft. | |
| font_size | No | Font size in points (default varies by backend, commonly ~48). | |
| font_color | No | Hex color for the text, e.g. '#FFFFFF'. | |
| text_styles | No | Per-segment style overrides for multi-color/multi-style text within the same text block. | |
| transform_x | No | Horizontal position offset. | |
| transform_y | No | Vertical position offset. | |
| extra_params | No | Optional passthrough for advanced/undocumented VectCutAPI fields not modeled explicitly above (e.g. nested transform/animation objects). Merged directly into the request body. Check the VectCutAPI example.py / API docs if you need a field that isn't listed here. | |
| shadow_alpha | No | Shadow opacity, 0-1. | |
| shadow_color | No | Hex color for the shadow, e.g. '#000000'. | |
| shadow_enabled | No | Whether to render a drop shadow behind the text. | |
| background_alpha | No | Background panel opacity, 0-1. | |
| background_color | No | Hex color for a background panel behind the text. | |
| background_round_radius | No | Corner radius (px) for the background panel. |