capcut_set_background_removal
Toggle background removal for a CapCut draft segment: use AI portrait matting, chroma key with a hex color, or turn matting off.
Instructions
Toggle background removal on an existing video clip in the CapCut draft.
mode: "smart_portrait" (CapCut's local AI model segments the person without a green screen) "chroma" (green screen removal with specified hex color and intensity) "off" (disables matting)
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": {
"draft_name": "<draft_name>",
"segment_id": "<segment_id>"
},
"name": "capcut_set_background_removal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | smart_portrait | |
| intensity | No | ||
| draft_name | Yes | ||
| segment_id | Yes | ||
| chroma_color | No | #00FF00 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |