asset_remove_background
Remove background from images to produce transparent RGBA PNGs using AI matting models (BiRefNet, BRIA RMBG, U²-Net) with automatic fallback. Returns the file path.
Instructions
Matte an image to transparent background (BiRefNet / BRIA RMBG / U²-Net via remote endpoint; local white-chroma fallback). Returns RGBA PNG path.
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": "<image>"
},
"name": "asset_remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Path or URL to input image | |
| mode | No | auto | |
| output_dir | No |