capcut_add_mask
Attach a mask shape to a CapCut segment, replacing any existing mask. Adjust center, size, rotation, feather, and corner rounding.
Instructions
Attach a mask shape (from capcut_list_masks) to a segment, replacing any mask already on it. center/width/height/rotation/feather/roundCorner are fractions (0-1) unless noted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| draft | Yes | ||
| width | No | ||
| height | No | ||
| invert | No | ||
| centerX | No | ||
| centerY | No | ||
| feather | No | ||
| rotation | No | ||
| segmentId | Yes | ||
| roundCorner | No |