ComfyUI Node
Eric Krea2 Resolution
A ComfyUI node in Eric/Krea2 with 6 inputs and 4 outputs.
Eric Krea2 Resolution
- image
- width
- height
- dims
- latent
◄aspect_ratio5:4 landscape►
◄megapixels3.00►
◄swap_orientationfalse►
◄fillnoise►
◄seed0►
CategoryEric/Krea2
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| aspect_ratio | COMBO | 5:4 landscape | 11 options: 21:9 ultrawide, 16:9 wide, 3:2 landscape, 4:3 landscape, 5:4 landscape, 1:1 square, +5 |
| megapixels | FLOAT | 3.000.05–16 | Target size in megapixels; width/height are derived from the aspect ratio. Matches the Ultra node's s1_megapixels math. |
| imageopt | IMAGE | Optional source image (img2img): when connected, width/height are taken from THIS image (rounded to /16) and the aspect_ratio + megapixels are ignored. Wire Load Image -> here -> the Ultra node's width/height inputs to size Stage 1 to your source picture. | |
| swap_orientationopt | BOOLEAN | false | Swap width and height (e.g. turn a landscape ratio into portrait) without adding a mirrored entry to the ratio list. |
| fillopt | COMBO | noise | Contents of the output KREA2_LATENT canvas. noise = unit-variance white noise (a ready init for a full-denoise img2img/refine pass); zeros = an empty canvas. The Ultra node re-noises any init at its s1_start_step, so for start_step 0 the two are equivalent. |
| seedopt | INT | 00–18446744073709550000 | Seed for the noise fill (reproducible). Ignored when fill=zeros. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |
| dims | STRING | — |
| latent | KREA2_LATENT | — |