ComfyUI Node
背景移除
A ComfyUI node in image/preprocessors with 6 inputs and 2 outputs.
背景移除
- images
- IMAGE
- MASK
◄model_nameu2net►
◄alpha_mattingfalse►
◄alpha_matting_foreground_threshold240►
◄alpha_matting_background_threshold10►
◄alpha_matting_erode_size10►
Categoryimage/preprocessors
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| model_nameopt | COMBO | u2net | 6 options: u2net, u2netp, u2net_human_seg, u2net_cloth_seg, silueta, isnet-general-use |
| alpha_mattingopt | BOOLEAN | false | — |
| alpha_matting_foreground_thresholdopt | INT | 2400–255 | — |
| alpha_matting_background_thresholdopt | INT | 100–255 | — |
| alpha_matting_erode_sizeopt | INT | 100–1000 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| MASK | MASK | — |