chroma_key
Remove a solid color background from a video clip by masking the specified RGB value, enabling green screen compositing.
Instructions
Mask a color in a video clip (chroma key / green screen).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_id | Yes | The video or image clip. | |
| color_rgb | Yes | The color to mask out as [R, G, B], e.g. [0, 255, 0] for green. | |
| stiffness | No | Edge sharpness. Higher = harder edges; lower = softer. MoviePy default is 1.0. | |
| threshold | No | Euclidean RGB distance tolerance. 0 = exact color only; try 20–100 for typical green-screen spill. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||