Chroma key (green-screen)
Try it interactively →POST /api/image-chroma-keyChroma-key an image: knock out a colour (green-screen, blue-screen, or any colour you specify) and return PNG with transparency in its place.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| image* | file | — | Input image bytes. |
| keyColor | string | "green" | `green`, `blue`, or a custom hex like `#00b140`. |
| tolerance | number (1…90) | 25 | Hue tolerance in degrees. |
| softness | number (0…30) | 10 | Soft-edge band width in degrees. |
Response
Modes: binary, json. Cache: yes (24h TTL).