Nodes/Krea2_ComfyUI_Advanced/Eric Krea2 Resolution
ComfyUI Node

Eric Krea2 Resolution

A ComfyUI node in Eric/Krea2 with 6 inputs and 4 outputs.

By EricRollei·Created about a month ago·Updated 10 days ago· 5
Eric Krea2 Resolution
  • image
  • width
  • height
  • dims
  • latent
aspect_ratio5:4 landscape
megapixels3.00
swap_orientationfalse
fillnoise
seed0
CategoryEric/Krea2

Inputs (6)

NameTypeDefaultDescription
aspect_ratioCOMBO5:4 landscape11 options: 21:9 ultrawide, 16:9 wide, 3:2 landscape, 4:3 landscape, 5:4 landscape, 1:1 square, +5
megapixelsFLOAT3.000.05–16Target size in megapixels; width/height are derived from the aspect ratio. Matches the Ultra node's s1_megapixels math.
imageoptIMAGEOptional 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_orientationoptBOOLEANfalseSwap width and height (e.g. turn a landscape ratio into portrait) without adding a mirrored entry to the ratio list.
filloptCOMBOnoiseContents 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.
seedoptINT00–18446744073709550000Seed for the noise fill (reproducible). Ignored when fill=zeros.

Outputs (4)

NameTypeDescription
widthINT
heightINT
dimsSTRING
latentKREA2_LATENT