Remove background
ai_remove_backgroundRemove the background of an image with AI; the result is a PNG with transparency. Costs 1 credit per run, refunded if it fails. Needs a CropDen API key. Input: PNG, JPEG or WebP, up to 10 MB and 2048 px on the longest side. Returns a link to the result, valid 7 days.
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": "ai_remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | No | Public https URL of a PNG, JPEG or WebP image. | |
| image_base64 | No | The image as base64 (a data: URL is fine). Use instead of image_url for local files. |