Remove an image's background
generate_remove_backgroundCuts the subject out of an image onto a transparent background, for sprites and props; prompt names what to keep when the cut is ambiguous (Bria Guided Remove Background: bria/guided-remove-background). Billed against your credits; waits up to wait_seconds, then returns the request_id to follow with generate_status.
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": {
"image_url": "<image_url>"
},
"name": "generate_remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | What to keep, e.g. the knight | |
| options | No | Any other input the model takes, per generate schema of its endpoint; the fields above win | |
| image_url | Yes | An image's URL, e.g. from generate upload | |
| wait_seconds | No | How long to wait for the result before returning the request id |