> [!WARNING] > Warning, uses experimental package `comfy-env` to attempt a one click isolated install. Will download and use pixi package manager. # ComfyUI-SAM3 ## Installation Three options, in order of speed → reliability: 1. **ComfyUI Manager (recommended)** — search for `SAM3` in the Manager and click Install from the highest version displayed. If that doesn't work, try nightly. 2. **Manager via Git URL** — in ComfyUI Manager: "Install via Git URL" with `https://github.com/PozzettiAndrea/ComfyUI-SAM3.git`. 3. **Manual (most reliable)**: ```bash cd ComfyUI/custom_nodes git clone https://github.com/PozzettiAndrea/ComfyUI-SAM3.git cd ComfyUI-SAM3 pip install -r requirements.txt --upgrade python install.py ``` > **Please report any problems** you hit during installation or use of my nodes — open a [Discussion](https://github.com/PozzettiAndrea/ComfyUI-SAM3/discussions) or [Issue](https://github.com/PozzettiAndrea/ComfyUI-SAM3/issues). Very grateful for your help! 🙏 ---
Workflow Test Gallery
View Live Test Gallery →
ComfyUI integration for Meta's SAM3 (Segment Anything Model 3). Open-vocabulary image and video segmentation using natural language text prompts. https://github.com/user-attachments/assets/323df482-1f05-4c69-8681-9bfb4073f766 ## Credits - **SAM3**: Meta AI Research (https://github.com/facebookresearch/sam3) - **ComfyUI Integration**: ComfyUI-SAM3 - **Interactive Points Editor**: Adapted from [ComfyUI-KJNodes](https://github.com/kijai/ComfyUI-KJNodes) by kijai (Apache 2.0 License). The SAM3PointsEditor node is based on the PointsEditor implementation from KJNodes, simplified for SAM3-specific point-based segmentation.