1038lab/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, VRMBG-3.0, FeyNoBg, Finegrain Box Segmenter, INSPYRENET, BEN, BEN2, BiRefNet, Lucida, SDMatte, SAM, SAM2, SAM3, Florence-2, YOLOv8/YOLO11, Big-Lama, and GroundingDINO.
What it solves
This project provides a comprehensive suite of tools for removing backgrounds and segmenting specific elements from images and videos. It addresses the need for high-precision extraction of objects, faces, clothing, and fashion items within the ComfyUI environment.
How it works
It functions as a collection of custom nodes for ComfyUI that integrate a wide variety of AI models, such as SAM2, BiRefNet, YOLO, and Florence-2. Users can load images or videos, select a specific segmentation or removal model, and apply the output to their workflows. The system includes features for real-time background replacement, interactive multi-layer compositing, and manual control over segmentation sensitivity.
Who it’s for
It is designed for ComfyUI users who need advanced, automated image and video matting capabilities, ranging from simple background removal to complex, prompt-based object segmentation for creative or professional projects.
Highlights
- Supports a vast array of models including RMBG-2.0, SAM3, BiRefNet, and YOLOv8/11.
- Includes specialized nodes for video background removal (VRMBG) and ultra-fine hair matting (FeyNoBg).
- Features an interactive canvas studio for multi-layer compositing with transform gizmos.
- Offers instant VRAM unloading to manage GPU memory usage efficiently.
- Provides text-prompted segmentation using models like GroundingDINO and Florence-2.
- Native support for Apple Silicon (MPS) and offline-first architecture.
Related
- Project
- Project
- Project
- Project
- Project