ComfyUI Extension: Flux Resolution
Get the closest compatible flux resolution from a given resolution.
Custom Nodes (0)
README
ComfyUI Flux Resolution
This repository contains ComfyUI nodes that help in determining the closest compatible flux resolution for a given input resolution.
Installation
Manual
-
Either clone this repository or download the ZIP and extract it into your
custom_nodes
directory of ComfyUI. -
Restart ComfyUI to load the new node.
ComfyUI Manager
- Open ComfyUI Manager.
- Click on "Install via Git URL".
- Enter the following URL:
https://github.com/iguanesolutions/comfyui-flux-resolution.git
.
Usage
Once installed, you will find a new node called "Flux Resolution" under the "flux tools" category.
It is designed to take an input resolution and output the closest compatible flux resolution and a boolean that tells if the final image needs to be upscaled or not.
In order to use it properly you will need some extra nodes from ComfyUI Essentials and Crystools and an upscale model (like RealESRGAN_x4plus or anything else that works for you).
This will let you do conditional resize of the output.