ComfyUI Node
Fat Mex Head Mask
All-in-one SAM3 head/object masking. Detects and masks objects matching the text prompt (default: full head). Returns a grown mask ready for inpainting, plus a visualization preview.
Fat Mex Head Mask
- image
- mask
- preview
◄mask_prompthair. head. face.►
◄grow_pixels15►
◄confidence0.20►
◄sam3_model_pathmodels/sam3/sam3.pt►
CategoryFat Mex
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | The image to create a mask from. | |
| mask_promptopt | STRING | hair. head. face. | What to mask. SAM3 text grounding prompt. Separate items with periods. |
| grow_pixelsopt | INT | 150–100 | Expand the mask by this many pixels (feathering). |
| confidenceopt | FLOAT | 0.200–1 | SAM3 detection confidence threshold. |
| sam3_model_pathopt | STRING | models/sam3/sam3.pt | Path to SAM3 model (auto-downloads if missing). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |
| preview | IMAGE | — |