Nodes/ComfyUI-RyuuNoodles/Latent Size Picker 🐲
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.

By DraconicDragonΒ·Created about a year agoΒ·Updated about a month agoΒ· 11
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)

    NameTypeDefaultDescription
    resolutionCOMBO1024x1024 (1:1)Select a predefined resolution or use overrides.
    multipleINT64Multiple to scale to. Setting to 1 effectively disables this.
    rounding_modeCOMBOnearestRounding 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_factorFLOAT1.000How much to multiply both width and height by before scaling to multiple.
    batch_sizeINT11–4096Number of latent samples to generate.
    width_overrideINT00–16384Override width. Set to 0 to use resolution width.
    height_overrideINT00–16384Override height. Set to 0 to use resolution height.

    Outputs (3)

    NameTypeDescription
    latentLATENTβ€”
    widthINTβ€”
    heightINTβ€”