bria/remove-background

Bria AI's remove background model

Official
16K runs

Input

image
file

Image file

string
Shift + Return to add a new line

Image URL

boolean

Controls whether partially transparent areas from the input image are retained in the output after background removal, if the input includes an alpha channel. When true: Partially transparent pixels preserve their original alpha values in the output. When false: All non-background areas in the output are rendered fully opaque. Has no effect if the input image does not include an alpha channel.

Default: true

boolean

Enable content moderation

Default: false

Output

We were unable to load these images. Please make sure the URLs are valid.

{
  "input": "https://replicate.delivery/pbxt/NMduyHx7NOGW6mKTPoC2ffdHAAxBQHb2dzy1dmOJ4sXQBGug/Product_photography_of_a_chocolate_covered_ice_bar_chocolate_popsicle_covered_wi%20%281%29%20%281%29%20%281%29.png",
  "outut": "https://replicate.delivery/xezq/0NufW2HbMJ0gRiyfmoxXJBb2HcTOjob8zAmD95GabSerKPCqA/tmplnh0p9x7.png"
}
Generated in

Pricing

Model pricing for bria/remove-background. Looking for volume pricing? Get in touch.

$0.018
per output image

or around 55 images for $1

Official models are always on, maintained, and have predictable pricing. Learn more.

Check out our docs for more information about how pricing works on Replicate.

Readme

Bria RMBG 2.0 enables seamless removal of backgrounds from images, ideal for professional editing tasks. Trained exclusively on licensed data for safe and risk-free commercial use.

While most background removal solutions use binary masks that create harsh, artificial looking edges, Bria RMBG 2.0 uses non-binary masks allowing for 256 levels of transparency, providing natural results that blend seamlessly with any background while preserving the fine details. For access to source code and weights: https://huggingface.co/briaai/RMBG-2.0

Bria RMBG 2.0 Benchmark: https://blog.bria.ai/benchmarking-blog/brias-new-state-of-the-art-remove-background-2.0-outperforms-the-competition