remove_background
Remove the background from any image using local AI processing. No cloud API required—the model downloads automatically on first use.
Instructions
Remove the background from an image using AI (rembg). Works locally — no cloud API needed. The model (~170MB) is downloaded automatically on first use.
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 |
|---|---|---|---|
| image_path | Yes | Path to the input image file | |
| output_path | No | Path to save the output image (optional, auto-generated if omitted) |