ComfyUI Node: LayerMask: SAM2 Video Ultra(Advance)

Authored by chflame163

Created

Updated

232 stars

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
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

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