ComfyUI Node
Face Align
A ComfyUI node in ✨ LF Nodes/Regions with 11 inputs and 5 outputs.
Face Align
- image
- extra_masks
- ui_widget
- image
- masks
- metadata
- image_list
- mask_list
◄model_pack▾►
◄selectcenter►
◄crop_size512►
◄face_scale0.50►
◄det_size640►
◄score_threshold0.50►
◄extra_idshair►
◄extra_priority35►
Category✨ LF Nodes/Regions
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | One or more images; one face is aligned from each. | |
| model_pack | COMBO | InsightFace pack folder under models/insightface (detector, 1k3d68 landmarks, ArcFace). | |
| select | COMBO | center | Which face when several are found: nearest the centre, largest or most confident. |
| crop_size | INT | 51264–4096 | Side of the square aligned crop. |
| face_scale | FLOAT | 0.500.1–1 | ArcFace's 112 template as a share of the crop; lower keeps more hair. |
| det_size | INT | 640160–2048 | Detector canvas; raise it for small faces in large frames. |
| score_threshold | FLOAT | 0.500.05–0.99 | Minimum detector confidence. |
| extra_masksopt | MASK | Workflow masks at source size, region-major (all images for region 0, then 1...), warped with the face. | |
| extra_idsopt | STRING | hair | Comma-separated IDs, one per extra mask region. |
| extra_priorityopt | FLOAT | 35-1000–1000 | Overlap priority of extra regions: skin 0, brows 30, eyes and lips 40. |
| ui_widgetopt | LF_COMPARE | [object Object] | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | Aligned square crops, one per input image. |
| masks | MASK | Disjoint region masks on the crops, image-major then region-table order. |
| metadata | JSON | lf.text-region-masks.v1 document with a face_alignment block (boxes, points, transforms). |
| image_list | IMAGE | Aligned crops as an ordered list. |
| mask_list | MASK | Region masks as ordered [1,H,W] items. |