Discover ComfyUI-RMBG: The Powerful Background Removal Tool for ComfyUI Users

CN
ComfyUI.org
2025-03-13 09:53:19

A Powerful ComfyUI Background Removal Plugin on GitHub: ComfyUI-RMBG

ComfyUI-RMBG supports precise segmentation of objects, faces, clothing, and fashion elements, integrating multiple advanced models including RMBG-2.0, INSPYRENET, BEN, BEN2, BiRefNet models, SAM, and GroundingDINO.

m875zf6jg0onyrm3yq83.13.1.jpg

It also supports batch processing, with adjustable parameters such as sensitivity, resolution, and blur. The plugin can be installed through ComfyUI-Manager search or directly cloned into the custom_nodes folder. The required models will be automatically downloaded the first time it is used.

m876062tjleh4nlmzik3.13.2.jpg

Related Links
GitHub: github.com/1038lab/ComfyUI-RMBG

m8760gpvihdnmu29jqm3.13.3.jpg

Features
Background Removal (RMBG Node)

  • Multiple models: RMBG-2.0, INSPYRENET, BEN, BEN2

  • Various background options

  • Batch processing support

Object Segmentation (Segment Node)

  • Object detection from text prompts

  • Supports both label-based and natural language input

  • High-precision segmentation using SAM

  • Flexible parameter controls

    m8760uqmokhfq8u05fr3.13.4.jpg

Installation

Install via ComfyUI-Manager

Search for ComfyUI-RMBG and install it. In the ComfyUI-RMBG folder, install requirements.txt

./ComfyUI/python_embeded/python -m pip install -r requirements.txt

Clone this repository into the ComfyUI custom_nodes folder

cd ComfyUI/custom_nodes git clone https://github.com/1038lab/ComfyUI-RMBG

Install requirements.txt in the ComfyUI-RMBG folder:

./ComfyUI/python_embeded/python -m pip install -r requirements.txt

m8761cgkd9ekhz63nhl3.13.5.jpgm8761j5pqi5f2gdvjyl3.13.6.pngm8761ozicjgk1z6j9gu3.13.7.jpg