capcut_style_text
Style captions and titles in a CapCut draft: apply WordArt, stroke, shadow, background box, per-word highlight colors, fonts, and alignment. Dry-run by default.
Instructions
Style text already on a track (captions, titles): WordArt preset, stroke, shadow, background box, per-word highlight color, font file, bold/italic, size, color, wrap width, alignment. All segments on the track, or only the one at start_s. Dry-run by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | ||
| glow | No | Text glow (Brillo): {style: neon (free) | rays (Pro), color '#RRGGBB', strength 0-100 (default 50), range 0-100 (default 40)}; null removes it. | |
| color | No | ||
| draft | Yes | Draft folder name inside the drafts root (from capcut_list_drafts). | |
| track | Yes | Text track name (e.g. subtitles, text). | |
| bubble | No | Text bubble (Texto > Burbuja): {resource_id, third_resource_id} from verified_ids.text_bubbles in docs/capcut_features.json (240 free bubbles), e.g. {resource_id: "7446995323060227333", third_resource_id: "6844049416047825415"}; null removes it. | |
| italic | No | ||
| shadow | No | ||
| dry_run | No | true (default): return the plan only. false: write to disk (CapCut must be closed). | |
| start_s | No | Only the segment that starts here. | |
| wordart | No | WordArt (Texto > Efectos) resource_id, already downloaded in CapCut; null removes it. Not combinable with stroke. | |
| bg_alpha | No | ||
| bg_color | No | ||
| bg_style | No | ||
| bg_width | No | UI % / 100 (default 0.14). | |
| alignment | No | ||
| bg_height | No | UI % / 100 (default 0.14). | |
| font_path | No | Absolute path of an installed .ttf/.otf font file. | |
| font_size | No | ||
| highlight | No | Whole words to color, e.g. [{word:"gratis", color:"#F8D508"}]. | |
| max_width | No | Wrap width as a share of the canvas width. | |
| underline | No | ||
| bg_offset_x | No | (UI % - 50) / 50; 0 is centred. | |
| bg_offset_y | No | (UI % - 50) / 50; 0 is centred. | |
| line_spacing | No | CapCut 'Linea' spacing (UI value; stored x0.05). | |
| stroke_color | No | ||
| stroke_width | No | CapCut UI scale 0-100. | |
| letter_spacing | No | CapCut 'Caracter' spacing (UI value; stored x0.05). | |
| bg_round_radius | No |