capcut_apply_mask
Apply circle, rectangle, linear, mirror, heart, or star masks to CapCut video clips; set feather, rotation, size, and invert to control visible areas and create targeted edits.
Instructions
Apply a video shape mask (circle, rectangle, linear, mirror, heart, star) with feather and inversion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | ||
| width | No | mask width (0.0 to 1.0, default: 0.5) | |
| height | No | mask height (0.0 to 1.0, default: 0.5) | |
| invert | No | invert mask (cut out inside vs outside) | |
| centerX | No | center X position (-1.0 to 1.0, default: 0.0) | |
| centerY | No | center Y position (-1.0 to 1.0, default: 0.0) | |
| feather | No | edge feather/softness (0.0 to 1.0) | |
| maskType | Yes | mask shape | |
| rotation | No | rotation degrees (0-360) | |
| segmentId | Yes | target clip segment ID | |
| roundCorner | No | corner roundness for rectangle (0.0 to 1.0) |