Kimi K3 is here. Try it now
image generation

Bria LogoImage Background Removal (RMBG)

Removes backgrounds from product/people images. One API call in, transparent PNG out.

Model details

Example usage

Bria Background Remove is an image-editing model that automatically removes backgrounds from images, accepting input images up to 12,000 × 12,000 px in JPEG, PNG, or WEBP format (RGB, RGBA, or CMYK color modes). It outputs a PNG with an 8-bit alpha channel, preserving soft, non-binary edges for clean, natural-looking cutouts, with output resolution always matching the input.

Full documentation is available here.

Bria Background Remove is an image-editing model that automatically removes backgrounds from images

The model is available under a commercial-use license via Bria, trained exclusively on licensed data with full IP indemnification for generated outputs.

Input
1import os
2import requests
3
4url = os.environ["MODEL_API_URL"]
5payload = {
6  "image": "https://labs-assets.bria.ai/sandbox-example-inputs/remove_background_example.jpg"
7}
8
9headers = {
10  "Content-Type": "application/json",
11  "api_token": os.environ['MODEL_API_KEY']
12}
13
14response = requests.post(url, json=payload, headers=headers)
15
16data = response.json()
17print(data)
18

JSON output
1{
2    "result": {
3        "image_url": "string"
4    },
5    "request_id": "string"
6}

🔥 Trending models