Chroma key
chroma_keyPROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Green screen / blue screen / chroma key, measured on the footage. A screen behind the subject (dim or bright): keyed out, edges despilled, everything else (the person, candles, props, desk) composited over a new background: 'solid' (colour), 'gradient' (colour -> colour2, top to bottom) or 'asset' (asset_key: an image or video from list_assets). Footage keyed before, with a green line or halo left round the subject and props: the leftover is cleaned and the footage's own backgrounds stay (a background you pass then goes behind the person cut-out). The result reports measured numbers (screen left, subject kept, leftover before and after): say them. mode 'key' forces a key, 'fringe' forces the leftover clean; screen 'green'|'blue' when the user named it. remove=true takes it off.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "chroma_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| colour | No | #rrggbb | |
| remove | No | ||
| screen | No | ||
| colour2 | No | #rrggbb | |
| despill | No | 0-1, default 0.6 | |
| asset_key | No | ||
| background | No | ||
| project_id | Yes | Explicit project identifier for this request. The connection's navigation pointer does not select the target. | |
| similarity | No | 0.04-0.4; default measured |