Skip to content
Node packVerifiedExternal
Open source

ComfyUI-segment-anything-2

ComfyUI nodes to use segment-anything-2

Maintainer@kijaiS · adoptiongrade

Package profile

Status
Verified
Publisher
@kijai
Source
GitHub

README

WORK IN PROGRESS

PointsEditor is now available for testing in KJNodes: https://github.com/kijai/ComfyUI-KJNodes

https://github.com/user-attachments/assets/c4a88647-679f-4cf2-ba1f-4fa8c7308c1e

https://github.com/user-attachments/assets/f15fafe8-72e8-41cc-b246-e947b1efe5ec

https://github.com/user-attachments/assets/c1efb595-0fb1-4ae7-b4fa-2def08eda0a8

For testing only currently.

Functional, but needs better coordinate selector.

For now mask postprocessing is disabled due to it needing cuda extension compilation. We can use other nodes for this purpose anyway, so might leave it that way, we'll see.

Models are automatically downloade from https://huggingface.co/Kijai/sam2-safetensors/tree/main

to ComfyUI/models/sam2

Original repo:

https://github.com/facebookresearch/segment-anything-2

Nodes in this pack

6 nodes
  • DownloadAndLoadSAM2Model
  • Florence2toCoordinates
  • Sam2AutoSegmentation
  • Sam2Segmentation
  • Sam2VideoSegmentation
  • Sam2VideoSegmentationAddPoints

Related resources

18 connections

Sources

3 sources
GitHubSourceVersion 0c35fff5f382803e2310103357b5e985f5437f32
github.com/kijai/ComfyUI-segment-anything-2

Verified Oct 7

Source excerpts

1 excerpt

Source context: Repo kijai/ComfyUI-segment-anything-2