remove_background
Remove image backgrounds and generate transparent PNGs. Provide a local image path; optionally select an AI provider or model to process the image.
Instructions
Remove the background from an image, producing a transparent PNG (Replicate or fal). Requires the matching provider key.
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_path": "<image_path>"
},
"name": "remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model id (owner/name for Replicate). Omit for the default. | |
| provider | No | AI provider. Omit to use the first configured key. | |
| image_path | Yes | Local path to the source image |