Remove the background
remove_backgroundCut out the subject of a photo and make the background transparent. Uses site credits with OAuth or USD with an API key; the tool quotes the price.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | ChatGPT only: the photo the user attached. Use image_url everywhere else. | |
| max_usd | No | API key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits. | |
| currency | No | Billing unit: USD for API keys; credits for OAuth (optional for existing OAuth clients). | |
| image_url | No | The photo: a public https link, or a popnow:// link from an earlier result. | |
| max_credits | No | OAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price. | |
| production_id | No | Optional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts. |