ComfyUI-Load-DirectoryFiles is a custom node for ComfyUI that allows users to load prompts and images from a specified directory. By indexing the files, it enables the generation of images based on the combined reference of prompts and images, thus reducing the challenges of generating images from prompts alone.
- Facilitates the loading of prompts and images from a designated folder, streamlining the image generation process.
- Supports negative prompts by allowing users to pair them with their respective images, enhancing the versatility of the input data.
- Reduces trial and error in image generation by utilizing additional tools like ControlNet and i2i to complement the prompts.
Context
This tool serves as an extension for ComfyUI, specifically designed to improve the workflow of image generation by allowing users to load prompts and images from a specified directory. It addresses the limitations of relying solely on text prompts by providing a systematic way to reference both text and images together.
Key Features & Benefits
The primary feature of this tool is its ability to read prompts from text files and corresponding images from a directory, which can be indexed for output. This capability is crucial for users who want to create complex images that require a blend of visual and textual input, thereby enhancing the creative process and reducing the number of iterations needed to achieve the desired results.
Advanced Functionalities
The tool also allows for the inclusion of negative prompts, which can be easily linked to their corresponding images by appending "_n" to the file names. This feature provides users with more nuanced control over the generation process, enabling them to define what should be avoided in the generated images.
Practical Benefits
By integrating prompts and images in a cohesive manner, this tool significantly enhances the efficiency and quality of the image generation workflow in ComfyUI. Users can expect a more streamlined process, improved control over the outcomes, and a reduction in the time spent on trial and error during the creative phase.
Credits/Acknowledgments
This tool is based on the work of the original authors of ComfyUI and is available under the GPL-3.0 License. Special thanks to contributors who have supported the development of this functionality.