remove_green_screen
Start a paid green screen removal with user approval and an exact expectedCredits quote. Needs uploadKey from create_upload (after the PUT). Required requestId deduplicates identical retries for 24h; never use a new id to retry an uncertain submission. Returns taskId.
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": {
"mode": "<mode>",
"durationSeconds": "<durationSeconds>",
"requestId": "<requestId>",
"uploadKey": "<uploadKey>",
"expectedCredits": "<expectedCredits>"
},
"name": "remove_green_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Quality id from list_removal_options: "standard" or "fine". | |
| requestId | Yes | Unique submission id, e.g. a UUID. Reuse for identical retries within 24 hours; never change after an uncertain outcome. | |
| uploadKey | Yes | key returned by create_upload, after the video file was PUT to its putUrl. | |
| background | No | Transparent (ProRes, WebM, matte) or a solid colour (adds an MP4). | |
| durationSeconds | Yes | Length of the video in seconds (decimals allowed). | |
| expectedCredits | Yes | Exact cost from estimate_removal_cost. |