Nodes/ComfyUI-FatMex-Nodes/Fat Mex Head Mask
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.

By FatMex·Created 6 months ago·Updated 6 months ago· 3
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)

NameTypeDefaultDescription
imageIMAGEThe image to create a mask from.
mask_promptoptSTRINGhair. head. face.What to mask. SAM3 text grounding prompt. Separate items with periods.
grow_pixelsoptINT150–100Expand the mask by this many pixels (feathering).
confidenceoptFLOAT0.200–1SAM3 detection confidence threshold.
sam3_model_pathoptSTRINGmodels/sam3/sam3.ptPath to SAM3 model (auto-downloads if missing).

Outputs (2)

NameTypeDescription
maskMASK
previewIMAGE