Resolution Advisor

IG1ResolutionAdvisor

From a user input desired resolution, this node will compute and output: 1. A first generation pass resolution, accounting for model's min len, max size and patch len, with a ratio the closest possible to input resolution. 2. A boolean indicating if a second pass 2x upscale (HiRes fix recommended) is necessary, aka if the generate resolution is lower than the reference resolution. 3. A boolean indicating if a third pass (pure upscale) is necessary, aka if the the size post 2nd pass (doubling the resolution) is still under the reference resolution.

Pack: Flux Resolution

custom_nodes.comfyui-ig1-tools

Inputs (2)

NameTypeRequired
resolutionIG1_RESOLUTIONrequired
modelCOMBOrequired

Outputs (3)

NameType
GENERATEIG1_RESOLUTION
NEED_HIRESBOOLEAN
NEED_UPSCALEBOOLEAN