ComfyUI Node: (Down)Load SAM2Model

Authored by kijai

Created

Updated

830 stars

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

Run ComfyUI workflows in the Cloud!

No downloads or installs are required. Pay only for active GPU usage, not idle time. No complex setups and dependency issues

Learn more