ComfyUI Node Runs on cloud
VRMBG (Video Background Removal)
A ComfyUI node in 🧪AILab/🧽RMBG with 8 inputs and 3 outputs.
VRMBG (Video Background Removal)
- images
- background_color
- IMAGE
- MASK
- MASK_IMAGE
◄reset_statetrue►
◄mask_blur0►
◄mask_offset0►
◄invert_outputfalse►
◄unload_modelfalse►
◄backgroundAlpha►
Category🧪AILab/🧽RMBG
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | Batch of consecutive video frames [B, H, W, C] for temporal background removal. | |
| reset_stateopt | BOOLEAN | true | Reset temporal prior state at the beginning of this batch. Keep True for standalone clips, or False when feeding consecutive chunks. |
| mask_bluropt | INT | 00–64 | Gaussian blur radius for softening mask edges. |
| mask_offsetopt | INT | 0-64–64 | Expand (positive) or shrink (negative) the mask boundary in pixels. |
| invert_outputopt | BOOLEAN | false | Invert the output mask. |
| unload_modelopt | BOOLEAN | false | Unload model weights from VRAM immediately after execution. |
| backgroundopt | COMBO | Alpha | Output format: Alpha for transparent cutout, or Color to composite against solid background. |
| background_coloropt | COLORCODE | #222222 | Hex background color used when background mode is set to Color. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| MASK | MASK | — |
| MASK_IMAGE | IMAGE | — |