floyo logo
Workflows
Pricing
floyo logo
Workflows
Pricing
Last updated
2026-05-20

ComfyUI-SAM3 is an integration of Meta's Segment Anything Model 3 (SAM3) into the ComfyUI framework, enabling users to perform open-vocabulary image and video segmentation driven by natural language prompts. This tool aims to enhance the segmentation capabilities within ComfyUI by allowing more flexible and intuitive interactions with visual content.

  • Offers seamless integration with Meta's SAM3 for advanced segmentation tasks.
  • Utilizes natural language processing to interpret user prompts for segmentation.
  • Features an interactive points editor, streamlining the segmentation process.

Context

ComfyUI-SAM3 serves as a bridge between the ComfyUI environment and Meta's cutting-edge SAM3 model, which is designed for versatile image and video segmentation. Its primary goal is to enhance user interaction with visual data through natural language inputs, making the segmentation process more accessible and efficient.

Key Features & Benefits

This tool allows users to segment images and videos using everyday language, which significantly simplifies the task of defining areas of interest. The integration includes a user-friendly interface that enables quick adjustments and refinements to segmentation results, making it easier to achieve precise outcomes without extensive technical knowledge.

Advanced Functionalities

One of the standout features of ComfyUI-SAM3 is its interactive points editor, which allows users to manually adjust segmentation points in real-time. This capability is particularly useful for fine-tuning results, as it provides direct feedback and control over the segmentation process, ensuring that users can achieve the desired precision.

Practical Benefits

By incorporating ComfyUI-SAM3 into their workflows, users can expect improved efficiency and greater control over segmentation tasks. The ability to use natural language prompts not only speeds up the process but also reduces the learning curve associated with traditional segmentation methods, leading to higher quality outputs with less effort.

Credits/Acknowledgments

  • SAM3: Developed by Meta AI Research (https://github.com/facebookresearch/sam3).
  • ComfyUI Integration: Created by PozzettiAndrea as ComfyUI-SAM3.
  • Interactive Points Editor: Adapted from ComfyUI-KJNodes by kijai (Apache 2.0 License), with the SAM3PointsEditor node being a simplified version tailored for SAM3's point-based segmentation.

Inner Nodes

LoadSAM3Model
SAM3BBoxCollector
SAM3CombineBoxes
SAM3CombinePoints
SAM3CreateBox
SAM3CreatePoint
SAM3Grounding
SAM3InteractiveCollector
SAM3MultiRegionCollector
SAM3MultipromptSegmentation
SAM3PointCollector
SAM3Propagate
SAM3Segmentation
SAM3VideoOutput
SAM3VideoSegmentation