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

Priority (Best-Res)

'priority' selector for "Best Resolution" upscale-nodes.

By Lex-DRL·Created about a year ago·Updated 4 months ago· 14
Priority (Best-Res)
    • priority
    priorityoriginal
    CategoryBest Resolution

    Inputs (1)

    NameTypeDefaultDescription
    priorityCOMBOoriginalDefines what resolution to prioritize, as well as which order to perform rounding in: • desired - first, approximate resolutions are calculated for both initial and upscaled size; then, both are rounded. In both cases, the rounded resolution is closest to the desired one, but aspect ratio might differ the most between sizes. • original - first, initial resolution is calculated and rounded; then, upscaled one is detected from it. Upscaled resolution might differ the most from the desired aspect ratio, but it follows the ratio from initial size as much as possible. • upscaled - vice versa: first, the rounded upscaled resolution is calculated; then, the initial one back-tracked from it.

    Outputs (1)

    NameTypeDescription
    prioritydesired,original,upscaled