remove_video_background_media
Remove or matte the background of a workspace video media item. Defaults to robust-video-matting and supports green-screen, alpha-mask, and foreground-mask outputs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaId | Yes | Video MediaDocV2 ID to process | |
| modelId | No | Background removal model ID. Defaults to robust-video-matting. | robust-video-matting |
| videoUrl | No | Override source video URL; otherwise resolves from the active media version | |
| outputType | No | Replicate robust_video_matting output_type | green-screen |
| extraParams | No | Additional raw V3 model parameters | |
| workspaceId | Yes | The workspace ID |