ComfyUI Node Runs on cloud
Finegrain Box Segmenter (RMBG)
A ComfyUI node in 🧪AILab/🧽RMBG with 10 inputs and 3 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image batch to segment with high definition 1024px quality. | |
| bboxesopt | BBOX | Bounding box(es) from Florence-2 or YOLO detection nodes. | |
| box_coordinatesopt | STRING | Manual bounding box as 'x1, y1, x2, y2' in pixel or normalized [0..1] coordinates. | |
| marginopt | FLOAT | 0.150–0.5 | Safety padding margin around bounding boxes. |
| mask_bluropt | INT | 00–64 | Blur mask edges (0 to disable). |
| mask_offsetopt | INT | 0-64–64 | Expand (positive) or shrink (negative) mask edges in pixels. |
| invert_outputopt | BOOLEAN | false | Invert the output mask. |
| unload_modelopt | BOOLEAN | false | Unload model from VRAM immediately after execution. |
| backgroundopt | COMBO | Alpha | Background type: Alpha (transparent) or Color (custom solid background). |
| background_coloropt | COLORCODE | #222222 | Hex color code for background when Color mode is selected. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| MASK | MASK | — |
| MASK_IMAGE | IMAGE | — |