remove_background
Remove backgrounds from pixel art images (max 400x400) by specifying the foreground object and background complexity. Use for clean sprite isolation.
Instructions
Remove the background from a pixel art image (max 400x400).
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>",
"image_size": "<image_size>"
},
"name": "remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Seed for deterministic generation (default 0) | |
| text | No | Description of the foreground object to help removal | |
| image | Yes | Source image | |
| image_size | Yes | Image dimensions | |
| background_removal_task | No | Type of background removal (default remove_simple_background) |