ComfyUI Aspect Ratios is a specialized tool that allows users to select and configure various aspect ratios for image generation within the ComfyUI framework. This extension enhances the control over image dimensions, enabling more precise outputs tailored to specific requirements.
- Enables the selection of multiple aspect ratios for image generation.
- Provides options to swap aspect ratios and set batch sizes for creating multiple images.
- Allows users to configure aspect ratios through a simple text file, streamlining adjustments and customization.
Context
This tool serves as an aspect ratio selector specifically designed for ComfyUI, drawing inspiration from the sd-webui-ar project. Its primary purpose is to enhance image generation by allowing users to define and manipulate aspect ratios easily.
Key Features & Benefits
The aspect ratio selector offers practical features such as the ability to set reference sizes and choose whether the aspect ratio is based on width or height. Additionally, users can easily swap aspect ratios, which is particularly useful for generating images in different orientations without having to reconfigure the entire setup.
Advanced Functionalities
One of the advanced capabilities of this tool is the configuration through a dedicated text file, aspect_ratios.txt, where users can define their custom aspect ratios. This flexibility allows for the easy addition of new ratios or adjustments to existing ones, enhancing the tool's usability for diverse image generation needs.
Practical Benefits
By integrating this aspect ratio selector into ComfyUI, users gain improved workflow efficiency and greater control over the visual output of their projects. The ability to batch create images with specified dimensions helps in maintaining consistency across multiple outputs, ultimately enhancing the quality of generated images.
Credits/Acknowledgments
This tool was developed by an individual contributor inspired by the sd-webui-ar project. It is available under an open-source license that encourages community use and further development.