ComfyUI Node
Mask to Coordinates (SAM2)
Generate SAM conditions using mask brush.
Mask to Coordinates (SAM2)
- mask
- coordinates
◄threshold0.65►
◄max_regions50►
◄points_per_region1►
CategorylhyNodes/Mask
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| mask | MASK | — | |
| threshold | FLOAT | 0.650–1 | — |
| max_regions | INT | 501–100 | — |
| points_per_region | INT | 11–100 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| coordinates | STRING | — |