ComfyUI Node
RdancerFlorence2SAM2GenerateMask
A ComfyUI node in 💃rDancer with 5 inputs and 3 outputs.
RdancerFlorence2SAM2GenerateMask
- image
- annotated_image
- mask
- masked_image
â—„sam2_modelsam2_hiera_small.ptâ–º
◄device▾►
â—„promptsubjectâ–º
â—„keep_model_loadedfalseâ–º
Category💃rDancer
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| sam2_model | COMBO | sam2_hiera_small.pt | 4 options: sam2_hiera_base_plus.pt, sam2_hiera_large.pt, sam2_hiera_small.pt, sam2_hiera_tiny.pt |
| device | COMBO | 2 options: cuda, cpu | |
| image | IMAGE | — | |
| prompt | STRING | subject | — |
| keep_model_loadedopt | BOOLEAN | false | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| annotated_image | IMAGE | — |
| mask | MASK | — |
| masked_image | IMAGE | — |