ComfyUI RMBG
A ComfyUI custom node designed for advanced image background removal and object, face, clothes, and fashion segmentation, utilizing multiple models including RMBG-2.0, INSPYRENET, BEN, BEN2, BiRefNet, SDMatte, SAM, SAM2, SAM3 and GroundingDINO.
Install / Use
npx skills add 1038lab/ComfyUI-RMBGInstalls into whichever agent you are using.
README
ComfyUI-RMBG
A sophisticated ComfyUI custom node engineered for advanced image background removal and precise segmentation of objects, faces, clothing, and fashion elements. This tool leverages a diverse array of models, including RMBG-2.0, INSPYRENET, BEN, BEN2, BiRefNet, Lucida, SDMatte models, SAM, SAM2 and GroundingDINO, while also incorporating a new feature for real-time background replacement and enhanced edge detection for improved accuracy.
News & Updates
-
2026/07/21: Update ComfyUI-RMBG to v3.1.0 ( update.md )
- Added
Lucidamodel to BiRefNet node — BiRefNet fine-tune for transparent objects, camouflage, text/logos, glow/VFX, and illustrations) - Added
sensitivityparameter to BiRefNet node
- Added
-
2026/01/01: Update ComfyUI-RMBG to v3.0.0 ( update.md )

-
2025/12/09: Update ComfyUI-RMBG to v2.9.6 ( update.md )
-
2025/11/25: Update ComfyUI-RMBG to v2.9.5 SAM3 Segmentaion bug fixed( update.md )
-
2025/11/24: Update ComfyUI-RMBG to v2.9.4 SAM3 Segmentaion ( update.md )
-
2025/10/05: Update ComfyUI-RMBG to v2.9.3 ( update.md )
-
2025/09/30: Update ComfyUI-RMBG to v2.9.2 ( update.md )
-
Add new BiRefNet_toonOut Model
-
Updated Imagestitch
-
2025/09/12: Update ComfyUI-RMBG to v2.9.1 ( update.md )
-
2025/08/18: Update ComfyUI-RMBG to v2.9.0 ( update.md )
- Added
SDMatte Mattingnode
- Added
-
2025/08/11: Update ComfyUI-RMBG to v2.8.0 ( update.md )
- Added
SAM2Segmentnode for text-prompted segmentation with the latest Facebook Research SAM2 technology. - Enhanced color widget support across all nodes
- Added
-
2025/08/06: Update ComfyUI-RMBG to v2.7.1 ( update.md )
- Enhanced LoadImage into three distinct nodes to meet different needs, all supporting direct image loading from local paths or URLs
- Completely redesigned ImageStitch node compatible with ComfyUI's native functionality
- Fixed background color handling issues reported by users
-
2025/07/15: Update ComfyUI-RMBG to v2.6.0 ( update.md )
-
Added
Kontext Refence latent Masknode, Which uses a reference latent and mask for precise region conditioning. -
2025/07/11: Update ComfyUI-RMBG to v2.5.2 ( update.md )
-
2025/07/07: Update ComfyUI-RMBG to v2.5.1 ( update.md )
-
2025/07/01: Update ComfyUI-RMBG to v2.5.0 ( update.md )
-
Added
MaskOverlay,ObjectRemover,ImageMaskResizenew nodes. -
Added 2 BiRefNet models:
BiRefNet_lite-mattingandBiRefNet_dynamic -
Added batch image support for
Segment_v1andSegment_V2nodes -
2025/06/01: Update ComfyUI-RMBG to v2.4.0 ( update.md )
- Added
CropObject,ImageCompare,ColorInputnodes and new Segment V2 (see update.md for details)
- Added
-
2025/05/15: Update ComfyUI-RMBG to v2.3.2 ( update.md )
-
2025/05/02: Update ComfyUI-RMBG to v2.3.1 ( update.md )
-
2025/05/01: Update ComfyUI-RMBG to v2.3.0 ( update.md )
- Added new nodes: IC-LoRA Concat, Image Crop
- Added resizing options for Load Image: Longest Side, Shortest Side, Width, and Height, enhancing flexibility.
-
2025/04/05: Update ComfyUI-RMBG to v2.2.1 ( update.md )
-
2025/04/05: Update ComfyUI-RMBG to v2.2.0 ( update.md )
- Added new nodes: Image Combiner, Image Stitch, Image/Mask Converter, Mask Enhancer, Mask Combiner, and Mask Extractor
- Fixed compatibility issues with transformers v4.49+
- Fixed i18n translation errors
- Added mask image output to segment nodes
-
2025/03/21: Update ComfyUI-RMBG to v2.1.1 ( update.md )
- Enhanced compatibility with Transformers
-
2025/03/19: Update ComfyUI-RMBG to v2.1.0 ( update.md )
- Integrated internationalization (i18n) support for multiple languages.
- Improved user interface for dynamic language switching.
- Enhanced accessibility for non-English speaking users with fully translatable features.
https://github.com/user-attachments/assets/7faa00d3-bbe2-42b8-95ed-2c830a1ff04f
-
2025/03/13: Update ComfyUI-RMBG to v2.0.0 ( update.md )
- Added Image and Mask Tools improved functionality.
- Enhanced code structure and documentation for better usability.
- Introduced a new category path:
🧪AILab/🛠️UTIL/🖼️IMAGE.
-
2025/02/24: Update ComfyUI-RMBG to v1.9.3 Clean up the code and fix the issue ( update.md )
-
2025/02/21: Update ComfyUI-RMBG to v1.9.2 with Fast Foreground Color Estimation ( update.md )
- Added new foreground refinement feature for better transparency handling
- Improved edge quality and detail preservation
- Enhanced memory optimization
-
2025/02/20: Update ComfyUI-RMBG to v1.9.1 ( update.md )
- Changed repository for model management to the new repository and Reorganized models files structure for better maintainability.
-
2025/02/19: Update ComfyUI-RMBG to v1.9.0 with BiRefNet model improvements ( update.md )
- Enhanced BiRefNet model performance and stability
- Improved memory management for large images
-
2025/02/07: Update ComfyUI-RMBG to v1.8.0 with new BiRefNet-HR model ( update.md )
- Added a new custom node for BiRefNet-HR model.
- Support high resolution image processing (up to 2048x2048)
-
2025/02/04: Update ComfyUI-RMBG to v1.7.0 with new BEN2 model ( update.md )
Related Skills
notion
385.5kNotion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.
obsidian
385.5kWork with Obsidian vaults using the official obsidian CLI: read/search/create/edit notes, tasks, links, properties, plugins.
xurl
385.5kxurl CLI for authenticated X posts, replies, reads/search, DMs, media upload, followers, auth status, or raw v2 API calls.
browser-automation
385.5kUse when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.
