ComfyUI Node
Align Hints To Latent
A ComfyUI node in itsjustregi / SDXL Adherence with 6 inputs and 4 outputs.
Align Hints To Latent
- latent
- image
- image_aligned
- bbox_json
- width
- height
◄snap_modepad_up►
◄pad_kindreflect►
◄pad_value128►
◄keep_alphafalse►
Categoryitsjustregi / SDXL Adherence
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| latent | LATENT | Latent whose W×H defines the target size. | |
| image | IMAGE | Hint image to align (B×H×W×C or H×W×C). | |
| snap_mode | COMBO | pad_up | How to match the latent size: pad, downscale, resize, or crop. |
| pad_kind | COMBO | reflect | Padding mode for pad-up/downscale residual. |
| pad_valueopt | INT | 1280–255 | Constant pad value (0..255). |
| keep_alphaopt | BOOLEAN | false | Preserve alpha channel if present. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image_aligned | IMAGE | — |
| bbox_json | STRING | — |
| width | INT | — |
| height | INT | — |