ComfyUI Node
Remove background
Removes or replaces the background from the input image.
Remove background
- model
- images
- depths
- background
- images
◄batch_size1►
◄out_dtypeAUTO►
CategoryRemBG_SET/Basic
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| model | SET_REMBG | The remove background model from `Load RemBG model by file` or any of the `Load XXXXXX model by name` nodes | |
| images | IMAGE | One or more images to process, will be scaled to a size that is good for the model. | |
| batch_size | INT | 11–256 | How many images to process at once |
| depthsopt | MASK | For models that starts with a depth map | |
| backgroundopt | IMAGE | Image to use as background | |
| out_dtypeopt | COMBO | AUTO | Data type used for the outputs. `AUTO` means the same as the input.Using `float16` can help when processing videos. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | The images with the background removed (transparent) or replaced by the background image |