Remove a background
remove_backgroundUse to cut out the subject of an image onto a transparent background (product shots, portraits, logos). 2 credits. subject: general, portrait, product or hair (fine hair and fur). Returns a PNG in the library.
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": "<image>"
},
"name": "remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | An image url (upload, library or link) or a library asset id. | |
| subject | No | general |