video_shape_mask
Apply circle, rounded-rectangle, or oval masks to video to shape visible areas, with adjustable edge feathering and optional output path for the masked result.
Instructions
Apply a geometric shape mask to a video.
Args: input_path: Absolute path to the input video. shape: Shape to use — "circle", "rounded_rect", or "oval". output_path: Where to save the output. Auto-generated if omitted. feather: Feather radius in pixels (0 = sharp edges).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | No | circle | |
| feather | No | ||
| overwrite | No | Explicitly allow replacing existing media. Existing non-media files are protected. | |
| input_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||