ComfyUI Node
Select Focus Point
Select focus point on image. Connect a MASK from SAM/MaskPainter for interactive selection, or use percentage sliders.
Select Focus Point
- image
- mask
- focus_point
- preview
◄x_percent50.0►
◄y_percent50.0►
CategoryRefocus/Defocus
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| maskopt | MASK | Optional mask from SAM/MaskPainter - centroid becomes focus point | |
| x_percentopt | FLOAT | 50.00–100 | X coordinate as percentage of image width (ignored if mask provided) |
| y_percentopt | FLOAT | 50.00–100 | Y coordinate as percentage of image height (ignored if mask provided) |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| focus_point | FOCUS_POINT | — |
| preview | IMAGE | — |