---
title: "Bria Eraser API & Playground - Comfy"
description: "Bria Eraser: Removes objects or masked areas from an image. Run it in your browser or call it via API. Typical cost: 6.03 credits per run."
canonical: https://comfy.org/hub/models/bria-eraser/
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 Eraser

Removes objects or masked areas from an image.

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

6.03 credits /Run

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

## Playground

Input

Reference image

Provide the reference image or images used to guide the result.

- 787 B

Mask

Provide a mask: white removes, black keeps.

- 562 B

Advanced settings

Mask type

Choose how the removal mask was created.

Keep transparency

Retain transparent areas from the input image.

Output

![Bria Eraser: Bria Eraser](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bria_eraser-2.webp)

Example

## Sample outputs

-
-
-

## 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--eraser--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-erase

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 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 RMBG 2.0](https://comfy.org/hub/models/bria-rmbg-2-0/) | 3.8 credits /Run | — | — |
| [Bria Remove Video Background](https://comfy.org/hub/models/bria-remove-video-background/) | — | — | — |
