Nodes/Best Resolution/Best-Res (simple)
ComfyUI Node

Best-Res (simple)

The simplest node for easier selection of an optimal resolution: only rounding performed, desired image size specified directly.

By Lex-DRL·Created about a year ago·Updated 4 months ago· 14
Best-Res (simple)
    • width
    • height
    width1024
    height1024
    step48
    CategoryBest Resolution

    Inputs (3)

    NameTypeDefaultDescription
    widthINT10241–9223372036854776000Approximate width
    heightINT10241–9223372036854776000Approximate height
    stepINT481–9223372036854776000Both width and height will be divisible by this value - by rounding them to the closest appropriate resolution. The default 48 is (8 * 3 * 2), so it's a safe choice because: - it's compatible with SD1.5/XL downsampling factor (divisible by 8), - it can be upscaled by x1.5 or x1.333 at the first iteration, which is optimal for latent-upscale, - after x1.5 upscale, if you only do x2 later (it's OK for already high resolutions) - it will be divisible by 3 AND 9, which might become handy at that point, where you'll probably use UltimateSDUpscale. Other values worth trying first: 64, 96, 128.

    Outputs (2)

    NameTypeDescription
    widthINT
    heightINT