floyo logo
Workflows
Pricing
floyo logo
Workflows
Pricing
Last updated
2026-02-03

A custom node for ComfyUI, ComfyUI-RMBG specializes in advanced background removal and segmentation tasks for images, including objects, faces, and clothing. It utilizes a variety of models such as RMBG-2.0, INSPYRENET, and SAM to achieve precise results, and offers features like real-time background replacement and enhanced edge detection.

  • Supports multiple models for diverse segmentation tasks, allowing users to choose the most suitable one for their specific needs.
  • Includes advanced features like text-prompted segmentation, enabling intuitive interaction with the tool through natural language input.
  • Provides batch processing capabilities, enhancing workflow efficiency when handling multiple images simultaneously.

Context

ComfyUI-RMBG is a specialized custom node designed to enhance the capabilities of ComfyUI by providing advanced image processing functionalities. Its primary purpose is to facilitate precise background removal and segmentation of various elements within images, making it a valuable tool for users looking to create high-quality visual content.

Key Features & Benefits

The tool offers several practical features that significantly improve image processing tasks. The integration of multiple models allows users to select the most effective approach for their specific use case, whether for portraits, clothing, or general object segmentation. Additionally, the option for real-time background replacement enhances the creative possibilities for users, enabling them to visualize different settings or contexts for their subjects.

Advanced Functionalities

ComfyUI-RMBG includes advanced capabilities such as text-prompted segmentation, where users can input descriptions in natural language to guide the segmentation process. This feature allows for a more intuitive user experience, as it simplifies the interaction with the tool. Furthermore, the node supports various output formats, including binary masks and images with customizable backgrounds, which can be adjusted based on user preferences.

Practical Benefits

By integrating ComfyUI-RMBG into their workflow, users can expect improved control over image quality and processing efficiency. The ability to perform batch processing means that users can handle multiple images at once, saving time and effort. The precise segmentation capabilities also ensure that the final outputs maintain high fidelity, which is crucial for professional applications in design and media.

Credits/Acknowledgments

The development of ComfyUI-RMBG is credited to AILab, with contributions from various authors of the underlying models, including RMBG-2.0, INSPYRENET, and SAM. The tool is licensed under the GPL-3.0 License, promoting open-source collaboration and innovation within the community.

Inner Nodes

AILab_ColorInput
AILab_ColorToMask
AILab_CropObject
AILab_Florence2
AILab_Florence2ToCoordinates
AILab_ICLoRAConcat
AILab_ImageCombiner
AILab_ImageCompare
AILab_ImageCrop
AILab_ImageMaskConvert
AILab_ImageMaskToList
AILab_ImagePreview
AILab_ImageResize
AILab_ImageStitch
AILab_ImageToList
AILab_LamaRemover
AILab_LoadImage
AILab_LoadImageAdvanced
AILab_LoadImageBatch
AILab_LoadImageSimple
AILab_MaskCombiner
AILab_MaskEnhancer
AILab_MaskExtractor
AILab_MaskOverlay
AILab_MaskPreview
AILab_MaskToList
AILab_Preview
AILab_ReferenceLatentMask
AILab_SDMatte
AILab_UnbatchImages
AILab_YoloV8
AILab_YoloV8Adv
BiRefNetRMBG
BodySegment
ClothesSegment
FaceSegment
FashionSegmentAccessories
FashionSegmentClothing
RMBG
SAM2Segment
SAM3Segment
Segment
SegmentV2