# 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, INSPYRENET, BEN, BEN2, BiRefNet, SDMatte, SAM, SAM2, SAM3 and GroundingDINO.

Repository: https://github.com/1038lab/ComfyUI-RMBG
Canonical: https://ross.abutalabs.com/products/comfyui-rmbg
Homepage: https://1038lab.github.io/ComfyUI-RMBG/
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: comfyui, comfyui-nodes, image, mask, remove-background, segmentation, stable-diffusion
Last push: 2026-08-21T22:56:10+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 35, longevity 46
- inputs: {"age_days": 657, "days_push": 12, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2086, forks 133 (observed 2026-08-28T04:06:11.975696+00:00)

## What it is
A ComfyUI custom node package for advanced image background removal and segmentation of objects, faces, clothing, and fashion elements. It integrates multiple models including RMBG-2.0, INSPYRENET, BEN/BEN2, BiRefNet, SDMatte, SAM/SAM2/SAM3, and GroundingDINO, with real-time background replacement and edge detection.

## Use cases
- remove background from images in comfyui workflows
- segment faces and clothing in photos
- text-prompted object segmentation with SAM
- replace image backgrounds in stable diffusion pipelines
- extract transparent objects with fine-tuned matting models
- create masks for fashion and product photography

## When to choose
- you already use ComfyUI and need high-quality background removal or segmentation nodes
- you want multiple state-of-the-art matting and segmentation models in one plugin
- you need text-prompted segmentation via SAM2/SAM3 or GroundingDINO

## When to avoid
- you need a standalone CLI or library outside ComfyUI
- you have no GPU or cannot download large model weights
- you only need simple background removal without ComfyUI workflows

## Facets
- artifact type: plugin
- maturity: active
- function: image-processing, computer-vision, machine-learning, plugin-system
- domain: image-processing, artificial-intelligence, computer-vision
- platform: python, cross-platform
- tags: comfyui, background-removal, segmentation, sam, birefnet, stable-diffusion, custom-nodes, matting, gpu

## Member repositories
- 1038lab/ComfyUI-RMBG (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:11.975696+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:55:47.510502+00:00, confidence not recorded.
  - readme: https://github.com/1038lab/ComfyUI-RMBG (fetched 2026-08-28T04:06:11.975696+00:00, sha 9f20bed3fea8)
  - homepage: https://1038lab.github.io/ComfyUI-RMBG/ (fetched 2026-08-29T10:35:43.614248+00:00, sha 29ebdad1d752)
- Data as of 2026-08-30T08:39:29.467469+00:00.
