ComfyUI Node
Latent Size Picker π²
Create latent samples with SDXL resolutions and scaling to multiple capabilities. Combines predefined 1MP resolutions with the ability to scale dimensions to specific multiples using rounding modes and scale factors.
Latent Size Picker π²
- latent
- width
- height
βresolution1024x1024 (1:1)βΊ
βmultiple64βΊ
βrounding_modenearestβΊ
βscale_factor1.000βΊ
βbatch_size1βΊ
βwidth_override0βΊ
βheight_override0βΊ
CategoryRyuuNoodles π²/Latents
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| resolution | COMBO | 1024x1024 (1:1) | Select a predefined resolution or use overrides. |
| multiple | INT | 64 | Multiple to scale to. Setting to 1 effectively disables this. |
| rounding_mode | COMBO | nearest | Rounding mode for both width and height. 'nearest' will round to the nearest multiple of 'multiple' value. 'floor' will round down to the nearest multiple. 'ceil' will round up. |
| scale_factor | FLOAT | 1.000 | How much to multiply both width and height by before scaling to multiple. |
| batch_size | INT | 11β4096 | Number of latent samples to generate. |
| width_override | INT | 00β16384 | Override width. Set to 0 to use resolution width. |
| height_override | INT | 00β16384 | Override height. Set to 0 to use resolution height. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| latent | LATENT | β |
| width | INT | β |
| height | INT | β |