These are designed to be custom nodes i found usefulness to that hopefully others can share.
This node is for knowing the desired output images sizes and reverse engineering based on what SDXL supports. It will them output:
- a blank Latent
- the Width & Height of generated Latent
- The CLIP Width & Height based on the input scale
- a ratio for your Upscaler.
This is all based on this repo: https://github.com/marhensa/sdxl-recommended-res-calc who created a great tool and I just enhanced it for my needs.
To install it as ComfyUI custom node using the Git Clone Operation:
- Go to this folder on your machine:
/ComfyUI/custom_nodes/
- Open command prompt to that folder, enter this below:
git clone https://github.com/guyaton/guy-nodes-comfyui.git
- Restart ComfyUI
- This custom node can be searched using:
- "Guy Recommended Resolution Calculator and Latent Generator"
- It can be located in "utils" node section