ComfyUI-SizeFromPresets is a custom node for ComfyUI that allows users to retrieve the width and height of image sizes based on predefined presets. This tool enhances the workflow by providing quick access to size specifications for different image generation models.
- Supports image size presets for both SD1.5 and SDXL models.
- Outputs dimensions and empty latent images based on selected presets.
- Offers functionality to select random or similar resolutions from the preset list.
Context
This tool serves as an extension for ComfyUI, specifically designed to facilitate the selection of image dimensions from a set of predefined sizes. Its main purpose is to streamline the process of configuring image sizes for various Stable Diffusion models, making it easier for users to generate images with the desired specifications.
Key Features & Benefits
The tool includes several nodes that allow users to select image size presets and receive corresponding width and height outputs. This functionality is crucial for users who require consistent image dimensions across different projects or models, ensuring that they can quickly access and apply the necessary settings without manual calculations.
Advanced Functionalities
In addition to standard preset selections, the tool offers advanced features such as random size selection and the ability to find resolutions similar to an input image. This capability allows for greater flexibility and creativity, enabling users to experiment with various sizes while maintaining compatibility with their existing workflows.
Practical Benefits
By integrating this tool into their ComfyUI setup, users can significantly improve their efficiency in managing image sizes, reducing the time spent on configuration. The ability to quickly output both dimensions and empty latent images enhances control over the image generation process, ultimately leading to higher quality outputs and a more streamlined workflow.
Credits/Acknowledgments
This tool was developed by nkchocoai and is available under an open-source license, allowing for community contributions and enhancements.