remove_background
Remove image backgrounds to create transparent PNGs for product photos, portraits, and composite images.
Instructions
Remove the background from an image, creating a transparent PNG. Great for product photos, portraits, and creating composites.
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_url": "<image_url>"
},
"name": "remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | Yes | URL of the image to remove background from (use upload_file for local images) | |
| model | No | Background removal model. Options: fal-ai/birefnet/v2 (recommended), fal-ai/birefnet | fal-ai/birefnet/v2 |
| output_format | No | Output format (PNG recommended for transparency) | png |