ComfyUI Node: Segment (RMBG)

Authored by 1038lab

Created

Updated

726 stars

Category

🧪AILab/🧽RMBG

Inputs

image IMAGE
prompt STRING
sam_model
  • sam_vit_h (2.56GB)
  • sam_vit_l (1.25GB)
  • sam_vit_b (375MB)
dino_model
  • GroundingDINO_SwinT_OGC (694MB)
  • GroundingDINO_SwinB (938MB)
threshold FLOAT
mask_blur INT
mask_offset INT
background_color
  • Alpha
  • black
  • white
  • gray
  • green
  • blue
  • red
invert_output BOOLEAN

Outputs

IMAGE

MASK

Extension: ComfyUI-RMBG

A ComfyUI node for removing image backgrounds using RMBG-2.0

Authored by 1038lab

Run ComfyUI workflows in the Cloud!

No downloads or installs are required. Pay only for active GPU usage, not idle time. No complex setups and dependency issues

Learn more