recraft_remove_background
Remove backgrounds from images to produce transparent PNGs. Works with local PNG, JPG, or WEBP files up to 5MB.
Instructions
Remove the background from an image, producing a transparent PNG.
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": {
"file_path": "<file_path>"
},
"name": "recraft_remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Local path to image (PNG/JPG/WEBP, max 5MB, 256-4096px) | |
| response_format | No | Response format | url |