ComfyUI Node
SAM Mask Generator (SAM3 v0.3)
A ComfyUI node in image/inpainting with 9 inputs and 3 outputs.
SAM Mask Generator (SAM3 v0.3)
- image
- mask
- mask_preview
- debug_info
◄sam_model▾►
◄promptface►
◄text_threshold0.35►
◄mask_blur6►
◄mask_dilation4►
◄mask_erosion0►
◄invert_maskfalse►
◄deviceauto►
Categoryimage/inpainting
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| sam_model | COMBO | 1 options: <no models found> | |
| prompt | STRING | face | — |
| text_thresholdopt | FLOAT | 0.350.05–0.95 | — |
| mask_bluropt | INT | 60–64 | — |
| mask_dilationopt | INT | 40–64 | — |
| mask_erosionopt | INT | 00–32 | — |
| invert_maskopt | BOOLEAN | false | — |
| deviceopt | COMBO | auto | 4 options: auto, cuda, cpu, mps |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |
| mask_preview | IMAGE | — |
| debug_info | STRING | — |