Image Remove Background
image_remove_backgroundRemoves the background from an image and returns a transparent PNG, accepting public URLs, data URIs, or base64 input.
Instructions
Remove background from an image.
Takes an image and removes its background, returning a transparent PNG. Accepts images as:
Public URLs (recommended: chains with text_to_image, and the ONLY way in for a file of your own - chat clients do not pass files through to tools)
Data URIs or raw base64 (for callers that already hold the bytes)
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>",
"model": "<model>"
},
"name": "image_remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image as URL (e.g., from text_to_image result), data URI (data:image/png;base64,...), or base64 string. URLs are recommended when chaining tools to avoid base64 context bloat. Supported formats: JPG, JPEG, PNG, GIF, BMP, WebP. Max 10MB. | |
| model | Yes | Background removal model (e.g., 'Ben2') | |
| webhook_url | No | HTTPS URL for deAPI to call when this job finishes. Notifies your own systems; the tool still returns the result here | |
| webhook_secret | No | 32-255 char key deAPI signs the callback with (HMAC-SHA256). Needs webhook_url. A secret given in chat stays in the transcript |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||