ImageBiRefNet

Remove Background (BiRefNet)

Cuts the subject out to a transparent PNG at 2048px, including hair and fine edges.

model: "rmbg-birefnet"

API docsDocs for agents

Modes

One model id, every mode below. The fields you send pick the mode, and the price follows the mode.

ModeSelected byTypical price
Image in, image outimage_url
Example request
{
  "model": "rmbg-birefnet",
  "input": {
    "image_url": "https://example.com/image.jpg"
  }
}
$0.0029

A real run

This is the tool's actual output on the image beside it. The playground below opens on the same input, so you can run it yourself.

Remove Background (BiRefNet): Before
Before
Remove Background (BiRefNet): After
After

Input

Required

The image to work on (https URL, or an upload URL from POST /v1/uploads).. A public https URL, or an upload URL from POST /v1/uploads.

Advanced options (1)

Provider settings beyond the main controls. Leave them empty to use the model's defaults.

Optional

File format of the result.

Result

Remove Background (BiRefNet)Example output

A real result from this model. Run it to see yours here.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "rmbg-birefnet",
  "input": {
    "image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/babdfe77-4b1f-47a5-b168-02ca5830abb6/0.jpg"
  }
}'
Remove Background (BiRefNet) 1Remove Background (BiRefNet) 2