Nodes/ComfyUI-RMBG/Finegrain Box Segmenter (RMBG)
ComfyUI Node Runs on cloud

Finegrain Box Segmenter (RMBG)

A ComfyUI node in 🧪AILab/🧽RMBG with 10 inputs and 3 outputs.

By 1038lab·Created 2 years ago·Updated 2 days ago· 2,196
Finegrain Box Segmenter (RMBG)
  • image
  • bboxes
  • background_color
  • IMAGE
  • MASK
  • MASK_IMAGE
◄box_coordinates►
◄margin0.15►
◄mask_blur0►
◄mask_offset0►
◄invert_outputfalse►
◄unload_modelfalse►
◄backgroundAlpha►
Category🧪AILab/🧽RMBG

Inputs (10)

NameTypeDefaultDescription
imageIMAGEInput image batch to segment with high definition 1024px quality.
bboxesoptBBOXBounding box(es) from Florence-2 or YOLO detection nodes.
box_coordinatesoptSTRINGManual bounding box as 'x1, y1, x2, y2' in pixel or normalized [0..1] coordinates.
marginoptFLOAT0.150–0.5Safety padding margin around bounding boxes.
mask_bluroptINT00–64Blur mask edges (0 to disable).
mask_offsetoptINT0-64–64Expand (positive) or shrink (negative) mask edges in pixels.
invert_outputoptBOOLEANfalseInvert the output mask.
unload_modeloptBOOLEANfalseUnload model from VRAM immediately after execution.
backgroundoptCOMBOAlphaBackground type: Alpha (transparent) or Color (custom solid background).
background_coloroptCOLORCODE#222222Hex color code for background when Color mode is selected.

Outputs (3)

NameTypeDescription
IMAGEIMAGE—
MASKMASK—
MASK_IMAGEIMAGE—