RMBG-2.0: Open Source Background Removal Model

1. Tutorial Introduction
RMBG-2.0 is composed of BRIA AI An open source background removal model launched in 2024, designed to effectively separate the foreground from the background of various categories and image types. This model is known for its high accuracy and a wide range of application scenarios, including e-commerce, advertising production, photography post-processing, game development, and film and video production. On the technical level, RMBG-2.0 is based on the BiRefNet architecture, which enhances the accuracy and stability of the model in high-resolution image segmentation by integrating a bilateral reference mechanism. The model consists of two main modules: the localization module (LM) is responsible for generating semantic maps, while the restoration module (RM) carefully repairs the foreground boundaries to ensure the accuracy of the segmentation results.
RMBG-2.0 achieves the current best (State-of-the-Art, SOTA) level in the task of separating foreground and background of images. Compared with the previous version, the accuracy has been improved from 73.26% to 90.14%, surpassing the industry-renowned paid tool remove.bg. On the technical level, RMBG-2.0 is based on the BiRefNet architecture, which enhances the accuracy and stability of the model in high-resolution image segmentation by integrating the bilateral reference mechanism. The model consists of two main modules: the localization module (LM) is responsible for generating semantic maps, while the restoration module (RM) carefully repairs the foreground boundary to ensure the accuracy of the segmentation results.
This tutorial supports the following models and functions:
Two functions:
- Upload a picture to remove the background
- Upload image URL to remove background
2. Operation steps
After starting the container, click the API address to enter the Web interface

1. Upload the image to remove the background
choose input image Function, upload pictures as follows


Figure 1 Image background removal
2. Upload the image URL to remove the background
choose input url Function, just enter the image URL as required below.


Figure 2 Image generation video demonstration
Exchange and discussion
🖌️ If you see a high-quality project, please leave a message in the background to recommend it! In addition, we have also established a tutorial exchange group. Welcome friends to scan the QR code and remark [SD Tutorial] to join the group to discuss various technical issues and share application effects↓