ComfyUI Node
Eric Krea2 Latent Resize
A ComfyUI node in Eric/Krea2 with 6 inputs and 4 outputs.
Eric Krea2 Latent Resize
- latent
- latent
- width
- height
- dims
◄modescale►
◄scale2.00►
◄width0►
◄height0►
◄megapixels3.00►
CategoryEric/Krea2
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| latent | KREA2_LATENT | — | |
| mode | COMBO | scale | scale: multiply both dims by 'scale'. dimensions: use width/height (0 on one axis = derive from the source aspect). megapixels: target area in MP, keeping the source aspect. |
| scaleopt | FLOAT | 2.000.05–8 | Linear scale factor for 'scale' mode (2.0 = 2x each side = 4x area). Values < 1 downscale. |
| widthopt | INT | 00–8192 | Target width for 'dimensions' mode (0 = derive from height + source aspect). Wire the Eric Krea2 Resolution node here. Rounded to /16. |
| heightopt | INT | 00–8192 | Target height for 'dimensions' mode (0 = derive from width + source aspect). Rounded to /16. |
| megapixelsopt | FLOAT | 3.000.05–16 | Target area in megapixels for 'megapixels' mode (source aspect kept). |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| latent | KREA2_LATENT | — |
| width | INT | — |
| height | INT | — |
| dims | STRING | — |