Remove an image background
remove_backgroundBiRefNet outputs a transparent PNG at source dimensions. $0.0003 per image. Failed jobs are free.
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": {
"input_url": "<input_url>",
"idempotency_key": "<idempotency_key>"
},
"name": "remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| priority | No | normal | |
| input_url | Yes | ||
| output_upload | No | ||
| idempotency_key | Yes | ||
| client_reference | No | ||
| max_output_bytes | No | ||
| max_wait_seconds | No | ||
| webhook_endpoint_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| result | No | ||
| status | Yes | ||
| priority | No | ||
| created_at | No | ||
| service_id | Yes | ||
| started_at | No | ||
| updated_at | No | ||
| output_file | No | ||
| completed_at | No | ||
| failure_code | No | ||
| failure_message | No | ||
| output_delivery | No | ||
| client_reference | No | ||
| charged_fee_micros | No | ||
| outstanding_micros | No |