ComfyUI Node: (Down)Load SAM2Model

Authored by kijai

Created

Updated

1206 stars

Run (Down)Load SAM2Model 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

model
  • sam2_hiera_base_plus.safetensors
  • sam2_hiera_large.safetensors
  • sam2_hiera_small.safetensors
  • sam2_hiera_tiny.safetensors
  • sam2.1_hiera_base_plus.safetensors
  • sam2.1_hiera_large.safetensors
  • sam2.1_hiera_small.safetensors
  • sam2.1_hiera_tiny.safetensors
segmentor
  • single_image
  • video
  • automaskgenerator
device
  • cuda
  • cpu
  • mps
precision
  • fp16
  • bf16
  • fp32

Outputs

SAM2MODEL

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 (Down)Load SAM2Model 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