ComfyUI Node
Auto Person Mask
A ComfyUI node in mask with 8 inputs and 2 outputs.
Auto Person Mask
- image
- person_mask
- masked_image
◄model▾►
◄alpha_mattingfalse►
◄alpha_matting_foreground_threshold240►
◄alpha_matting_background_threshold10►
◄alpha_matting_erode_size10►
◄post_process_maskfalse►
◄show_debugfalse►
Categorymask
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| model | COMBO | 4 options: u2net, u2netp, u2net_human_seg, silueta | |
| alpha_mattingopt | BOOLEAN | false | Better edge quality but slower |
| alpha_matting_foreground_thresholdopt | INT | 2400–255 | — |
| alpha_matting_background_thresholdopt | INT | 100–255 | — |
| alpha_matting_erode_sizeopt | INT | 100–50 | — |
| post_process_maskopt | BOOLEAN | false | Clean up mask with morphological operations |
| show_debugopt | BOOLEAN | false | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| person_mask | MASK | — |
| masked_image | IMAGE | — |