---
title: "Bria RMBG 2.0 API & Playground - Comfy"
description: "Bria RMBG 2.0: Removes the background from an image, returning a transparent PNG. Run it in your browser or call it via API. Typical cost: 3.8 credits per run."
canonical: https://comfy.org/hub/models/bria-rmbg-2-0/
lang: en
index: https://comfy.org/llms.txt
---

[Models](https://comfy.org/hub/models/)

Bria

[Edit images](https://comfy.org/hub/models/?useCase=edit-images)

# Bria RMBG 2.0

Removes the background from an image, returning a transparent PNG.

- Use via API
- [Open in Cloud](https://stagingcloud.comfy.org/)

3.8 credits /Run

- [background-removal](https://comfy.org/hub/models/?q=background-removal)
- [edit](https://comfy.org/hub/models/?q=edit)

## Playground

Input

Source image

-

Advanced settings

Keep transparency

Retain transparent areas from the input image.

Output

![Bria RMBG 2.0: Bria](https://cdn.jsdelivr.net/gh/Comfy-Org/workflow_templates@main/output/utility_bria_remove_image_background.png)

Example

## Try an example

-

## Call this model from your code

Sends your Playground inputs to Comfy Router.

[API docs (opens in a new tab)](https://docs.comfy.org/development/comfy-router/models#bria)

1. ### Get an API key

  Needs a paid Cloud plan with credits.

  [Get an API key (opens in a new tab)](https://platform.comfy.org/profile/api-keys?onboarding=models&model=bria--remove-image-background--edit-images)
2. ### Install the SDK

  Python 3.10+. Also on npm as @comfyorg/sdk.

  pip install comfy-sdk==0.2.0
3. ### Run it

  Calls Comfy Router at this endpoint with your COMFY_API_KEY.

  POST /v2/models/bria/image-edit-remove-background

Fill in the Playground inputs to generate a request.

## More from Bria

Compare Bria's other models. Price is the default setting; resolution and duration show the full range each model offers.

| Model | Price | Resolution | Duration |
| --- | --- | --- | --- |
| [Bria FIBO Image Edit](https://comfy.org/hub/models/bria-fibo-image-edit/) | 8.44 credits /Run | — | — |
| [Bria Eraser](https://comfy.org/hub/models/bria-eraser/) | 6.03 credits /Run | — | — |
| [Bria Expand Image](https://comfy.org/hub/models/bria-expand-image/) | 6.03 credits /Run | — | — |
| [Bria Generative Fill](https://comfy.org/hub/models/bria-generative-fill/) | 9.05 credits /Run | — | — |
| [Bria Green Screen Video](https://comfy.org/hub/models/bria-green-screen-video/) | — | — | — |
| [Bria Increase Resolution](https://comfy.org/hub/models/bria-increase-resolution/) | 6.03 credits /Run | — | — |
| [Bria Replace Video Background](https://comfy.org/hub/models/bria-replace-video-background/) | — | — | — |
| [Bria Remove Video Background](https://comfy.org/hub/models/bria-remove-video-background/) | — | — | — |
