ComfyUI Node

Select Focus Point

Select focus point on image. Connect a MASK from SAM/MaskPainter for interactive selection, or use percentage sliders.

By EricRollei·Created 7 months ago·Updated 3 months ago· 18
Select Focus Point
  • image
  • mask
  • focus_point
  • preview
x_percent50.0
y_percent50.0
CategoryRefocus/Defocus

Inputs (4)

NameTypeDefaultDescription
imageIMAGE
maskoptMASKOptional mask from SAM/MaskPainter - centroid becomes focus point
x_percentoptFLOAT50.00–100X coordinate as percentage of image width (ignored if mask provided)
y_percentoptFLOAT50.00–100Y coordinate as percentage of image height (ignored if mask provided)

Outputs (2)

NameTypeDescription
focus_pointFOCUS_POINT
previewIMAGE