Remove Background
sirv_remove_backgroundRemove the background from an image and return a transparent PNG for product cut-outs; the result is saved as a new studio asset while the source image stays unchanged.
Instructions
Remove the background from one image and return a PNG with a transparent background.
Use it for product cut-outs. Do not use it to put the subject on a new background: sirv_replace_background does that in one step.
Inputs: image_url is required. provider picks the service (default birefnet). model and operating_resolution tune birefnet only; bria and pixelcut ignore them.
Studio also saves the result in the library as a new asset. The source image does not change. Returns result_url, the URL of the PNG.
Credits: spends workspace credits. The cost depends on the model and options.
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": "sirv_remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | BiRefNet model. Matting suits hair and fur; Portrait suits people. Default: General Use (Heavy) | General Use (Heavy) |
| provider | No | Service that removes the background: birefnet (fine edges, such as hair), bria (faster) or pixelcut (made for product cut-outs). Default: birefnet | birefnet |
| image_url | Yes | Public URL of the image | |
| operating_resolution | No | BiRefNet working size. A larger size gives finer edges but is slower. Default: 1024x1024 | 1024x1024 |