Remove Background
remove_backgroundIsolate the main subject in an image by removing its background with AI, then save the result as PNG, JPEG, or WebP.
Instructions
Remove the background from an image.
Uses AI to isolate the main subject and remove the background. Best results with clear subjects against distinct backgrounds.
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 image | |
| output_format | No | "png" (default, supports transparency), "jpeg", or "webp" | png |
| output_filename | No | Custom filename for result (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||