OneButtonPrompt Custom Nodes for ComfyUI
Overview
The "OneButtonPrompt" repository is a comprehensive toolset designed to facilitate the creation of AI-generated prompts for Stable Diffusion and other image synthesis models. It aims to assist both beginners and advanced users in generating complex AI prompts with ease. The tool is integrated as custom nodes for ComfyUI.
Table of Contents
- Installation
- Purpose
- Provided Nodes
- Features and Capabilities
- Integration with ComfyUI Workflows
Installation
To install the OneButtonPrompt
custom nodes for ComfyUI, you can use the following steps:
-
Using Automatic1111's Extensions:
- Navigate to Extension -> Available and press "Load From."
- Find "One Button Prompt" in the list and click "Install."
-
Manual Installation:
- Install directly from the URL:
https://github.com/AIrjen/OneButtonPrompt
.
- Alternatively, download the files directly from the GitHub repository and place them in the
\Extensions\
folder of your Automatic1111 installation.
Purpose
The primary purpose of this repository is to provide a tool/script that generates complete prompts for use in AI image generation models like Stable Diffusion. This is ideal for:
- Beginners who are learning to create compelling prompts.
- Advanced users looking for inspiration.
- Users seeking automated workflows for prompt generation and variations.
Provided Nodes
The repository contains the following custom nodes implemented in the OneButtonPromptNodes.py
file:
Features and Capabilities
The One Button Prompt tool offers several features that enhance the prompting process:
- Full Prompt Generation: Create entire prompts with a single click.
- Support for Various Modes: TXT2IMG, IMG2IMG, ControlNET, inpainting, and latent couple.
- Preset Management: Save and use presets for different generation settings.
- Workflow Assistance and Variance: Generate multiple prompts and create variations with ease.
- Subject Override and Infinite Variations: Focus on a specific subject for varied prompts.
- Automated Processes: Allows for fully automated generation, classification, and upscaling.
- Custom Additions: Incorporate LoRA's, custom artists, and use Anime model mode.
- Complex Prompt Creation: Compound multiple prompts, use wildcards, and dynamic prompts.
- Template Prompts: Contains a library of template prompts for various themes.
- Configuration: Stay in control with a config file for fine-tuning.
- Specialized Modes: Offers modes such as Anime Model and various artist stylizations.
Integration with ComfyUI Workflows
The OneButtonPrompt nodes can significantly enhance workflows within ComfyUI by:
- Streamlining the Prompt Creation Process: Allows users to generate sophisticated prompts swiftly, removing the barrier of complex prompt writing.
- Providing Inspiration: For users looking to innovate or explore new artistic directions within ComfyUI.
- Supporting Diverse Artistic Outputs: With its varied modes and styles, users can experiment with a wide range of outputs.
- Enabling Automated Workflows: Run an entire pipeline from prompt creation to image generation and enhancement with minimal manual intervention.
Overall, the OneButtonPrompt custom nodes are a valuable addition to any ComfyUI user's toolkit, promoting creativity and efficiency in AI-generated art workflows.