Bria/Image Background Removal (RMBG)
Removes backgrounds from product/people images. One API call in, transparent PNG out.
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.

The model is available under a commercial-use license via Bria, trained exclusively on licensed data with full IP indemnification for generated outputs.
Input
import os
import requests
url = os.environ["MODEL_API_URL"]
payload = {
"image": "https://labs-assets.bria.ai/sandbox-example-inputs/remove_background_example.jpg"
}
headers = {
"Content-Type": "application/json",
"api_token": os.environ['MODEL_API_KEY']
}
response = requests.post(url, json=payload, headers=headers)
data = response.json()
print(data)
Output
{
"result": {
"image_url": "string"
},
"request_id": "string"
}