video_apply_mask
Applies an image mask to a video, making masked areas transparent and feathering mask edges for clean compositing. Use it to isolate subjects or reveal layers in video.
Instructions
Apply an image mask to a video with edge feathering.
Args: input_path: Absolute path to the input video. mask_path: Absolute path to the mask image (white = visible, black = transparent). feather: Feather/blur amount at mask edges in pixels (default 5). output_path: Where to save the output. Auto-generated if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feather | No | ||
| mask_path | Yes | ||
| 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 | |||