ComfyUI Node: LayerMask: SAM2 Video Ultra(Advance)

Authored by chflame163

Created

Updated

689 stars

Run LayerMask: SAM2 Video Ultra(Advance) 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

😺dzNodes/LayerMask

Inputs

image IMAGE
sam2_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
precision
  • fp16
  • bf16
cache_model BOOLEAN
individual_objects BOOLEAN
mask_preview_color STRING
detail_method
  • VITMatte
  • vitmatte-base-composition-1k
detail_erode INT
detail_dilate INT
black_point FLOAT
white_point FLOAT
process_detail BOOLEAN
device
  • cuda
max_megapixels FLOAT
bboxes BBOXES
first_frame_mask MASK
pre_mask MASK

Outputs

MASK

IMAGE

Extension: ComfyUI_LayerStyle_Advance

The nodes detached from ComfyUI Layer Style are mainly those with complex requirements for dependency packages.

Authored by chflame163

Looking for a different node?

Run LayerMask: SAM2 Video Ultra(Advance) 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