Floyo
Floyo
Workflows
API
Pricing
Floyo
Floyo
Workflows
API
Pricing

ComfyUI-RMBG

Created by 1038lab

https://github.com/1038lab/ComfyUI-RMBG

2153

Last updated 2026-10-01

Last updated

2026-10-01

Run hundreds of ComfyUI nodes and workflows in your browser.

ComfyUI and My Files on Floyo

A custom node for ComfyUI, ComfyUI-RMBG specializes in advanced background removal and segmentation tasks for images, effectively isolating objects, faces, clothing, and fashion elements. Utilizing a variety of models, including RMBG-2.0 and SAM, it enhances image processing capabilities with features like real-time background replacement and optimized edge detection.

  • Supports multiple models for diverse segmentation needs, ensuring flexibility and precision.
  • Features advanced options for real-time background replacement and instant VRAM unloading to optimize performance.
  • Provides a user-friendly interface with adjustable parameters for fine-tuning results, catering to both novice and experienced users.

Context

ComfyUI-RMBG is a specialized custom node within the ComfyUI framework, designed to facilitate complex image processing tasks such as background removal and segmentation. Its primary purpose is to allow users to efficiently isolate various elements within images, making it particularly useful for applications in fashion, photography, and digital art.

Key Features & Benefits

This tool offers several practical features that enhance its usability:

  • Multiple Model Support: Users can choose from a range of models like RMBG-2.0, INSPYRENET, and SAM, each optimized for different segmentation tasks, ensuring high accuracy and versatility.
  • Real-Time Background Replacement: The ability to replace backgrounds instantly helps streamline workflows, especially in creative projects where quick iterations are necessary.
  • Enhanced Edge Detection: Improved edge detection algorithms result in cleaner and more precise segmentations, which is crucial for high-quality outputs in professional settings.

Advanced Functionalities

ComfyUI-RMBG includes advanced capabilities such as:

  • Multiplex Segmentation: With the SAM3 model, users can achieve high-precision segmentation with options for merged or separate outputs, allowing for more detailed control over the final image.
  • Text-Prompted Segmentation: Users can provide natural language prompts for object detection, enhancing the tool's flexibility and making it easier to work with complex scenes.

Practical Benefits

By integrating ComfyUI-RMBG into their workflows, users can expect significant improvements in efficiency and control over image processing tasks. The tool's ability to handle batch processing and real-time adjustments reduces the time spent on manual edits, while its high-quality outputs enhance the overall visual appeal of projects.

Credits/Acknowledgments

The development of ComfyUI-RMBG is credited to the AILab team, with contributions from various authors and models, including RMBG-2.0, INSPYRENET, and SAM. The project is released under the GPL-3.0 License, promoting open-source collaboration and usage.

Inner Nodes

AILab_ColorInput
AILab_ColorToMask
AILab_CropObject
AILab_Florence2
AILab_Florence2ToCoordinates
AILab_ICLoRAConcat
AILab_ImageCombiner
AILab_ImageCompare
AILab_ImageCompareView
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_Resolution_Selector
AILab_SDMatte
AILab_UnbatchImages
AILab_YoloV8
AILab_YoloV8Adv
BiRefNetRMBG
BodySegment
ClothesSegment
FaceSegment
FashionSegmentAccessories
FashionSegmentClothing
RMBG
SAM2Segment
SAM3Segment
Segment
SegmentV2

Run workflows with this node

Community workflows using ComfyUI-RMBG.

Created by 1038lab

Inner Nodes

AILab_ColorInput

AILab_ColorToMask

AILab_CropObject

AILab_Florence2

AILab_Florence2ToCoordinates

AILab_ICLoRAConcat

AILab_ImageCombiner

AILab_ImageCompare

AILab_ImageCompareView

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_Resolution_Selector

AILab_SDMatte

AILab_UnbatchImages

AILab_YoloV8

AILab_YoloV8Adv

BiRefNetRMBG

BodySegment

ClothesSegment

FaceSegment

FashionSegmentAccessories

FashionSegmentClothing

RMBG

SAM2Segment

SAM3Segment

Segment

SegmentV2