Nodes/ComfyUI_Florence2SAM2/RdancerFlorence2SAM2GenerateMask
ComfyUI Node

RdancerFlorence2SAM2GenerateMask

A ComfyUI node in 💃rDancer with 5 inputs and 3 outputs.

By rdancer·Created 2 years ago·Updated about a year ago· 43
RdancerFlorence2SAM2GenerateMask
  • image
  • annotated_image
  • mask
  • masked_image
â—„sam2_modelsam2_hiera_small.ptâ–º
◄device▾►
â—„promptsubjectâ–º
â—„keep_model_loadedfalseâ–º
Category💃rDancer

Inputs (5)

NameTypeDefaultDescription
sam2_modelCOMBOsam2_hiera_small.pt4 options: sam2_hiera_base_plus.pt, sam2_hiera_large.pt, sam2_hiera_small.pt, sam2_hiera_tiny.pt
deviceCOMBO2 options: cuda, cpu
imageIMAGE—
promptSTRINGsubject—
keep_model_loadedoptBOOLEANfalse—

Outputs (3)

NameTypeDescription
annotated_imageIMAGE—
maskMASK—
masked_imageIMAGE—