Nodes/Face-Aligned Center/Face-Aligned Center
ComfyUI Node

Face-Aligned Center

A ComfyUI node in FaceAlignedCenter with 5 inputs and 3 outputs.

By serhiiyashyn-sf·Created 4 months ago·Updated 4 months ago· 0
Face-Aligned Center
  • images
  • mask
  • images
  • masks
  • info
canvas_size928
face_fill0.12
face_y0.30
CategoryFaceAlignedCenter

Inputs (5)

NameTypeDefaultDescription
imagesIMAGE
canvas_sizeINT92864–8192Square output size (pixels).
face_fillFLOAT0.120.02–0.9Zoom knob. Target face height as a fraction of the canvas. LOWER = zoom out (smaller character, more empty space). HIGHER = zoom in. Same value across every call = same face size for every character sheet.
face_yFLOAT0.300–1Vertical position of the face center on the canvas (0=top, 1=bottom). 0.30 puts the face in the upper-third.
maskoptMASKOptional foreground mask; overrides BG-color auto detection.

Outputs (3)

NameTypeDescription
imagesIMAGE
masksMASK
infoSTRING