ComfyUI Node: Sam2Segmentation

Authored by kijai

Created

Updated

1206 stars

Run Sam2Segmentation without installing ComfyUI

This node already runs on ComfyICU. Open it in the browser, hit run, and you're billed for GPU seconds — not for setup, and not while you're idle.

Category

SAM2

Inputs

sam2_model SAM2MODEL
image IMAGE
keep_model_loaded BOOLEAN
coordinates_positive STRING
coordinates_negative STRING
bboxes BBOX
individual_objects BOOLEAN
mask MASK

Outputs

MASK

Extension: ComfyUI-segment-anything-2

Nodes to use a/segment-anything-2 for image or video segmentation.

Authored by kijai

Looking for a different node?

Run Sam2Segmentation without installing ComfyUI

This node already runs on ComfyICU. Open it in the browser, hit run, and you're billed for GPU seconds — not for setup, and not while you're idle.

Learn more