SAM in ComfyUI: Segment Anything and 3D Body Models

ComfyUI Wiki

Meta's SAM models in ComfyUI: SAM 3.1 finds and masks objects from text, box or point prompts, and SAM 3D Body turns people into 3D character meshes.

S

SAM by Meta

Segmentation3DMasking

Meta's Segment Anything models, both supported by ComfyUI core. SAM 3.1 masks and tracks objects from text, box or point prompts. SAM 3D Body recovers a full-body 3D character from a photo or video and exports GLB or BVH for animation.

DeveloperMeta (FAIR, Meta Superintelligence Labs)
LicenseSAM-License
ModelsSAM 3.1 (segmentation), SAM 3D Body (human mesh recovery)
NodesBuilt into ComfyUI core under image/detection

Which model do you need?

ModelWhat it doesWeights folder
SAM 3.1Masks and tracks objects from text, box or point prompts; single or multi-object masks, bbox outputComfyUI/models/checkpoints/
SAM 3D BodyFull-body 3D mesh from one image or a video; GLB and BVH export for animationComfyUI/models/detection/

Both load with nodes that ship in ComfyUI core: SAM3 Detect and SAM3 Video Track for segmentation, SAM3DBody Loader and friends for mesh recovery.

Comments

Sign in with GitHub to join the discussion.

Loading comments…