Sign In

SuperPrompter Node for ComfyUI - Enhance Your Text Generation Workflows

8
103
6
Updated: Mar 30, 2024
toolpromptnodecomfyuiworkflowcomfy
Type
Other
Stats
103
Reviews
Published
Mar 30, 2024
Base Model
SDXL 1.0
Hash
AutoV2
FAD24164C3

Hey everyone!

I'm excited to announce my first release for a custom node. The SuperPrompter node for ComfyUI. This node harnesses the power of the SuperPrompt-v1 model to generate high-quality text based on your prompts. This model is a T5 77M parameter (small and fast) custom trained on prompt expansion dataset.


🌟 Features:

- Seamlessly integrate the SuperPrompter node into your ComfyUI workflows

- Generate text with various control parameters:

- prompt: Provide a starting prompt for the text generation

- max_new_tokens: Set the maximum number of new tokens to generate

- repetition_penalty: Adjust the penalty for repeating tokens in the generated text

- remove_incomplete_sentences: Choose whether to remove incomplete sentences from the generated text

- Automatically download and load the SuperPrompt-v1 model on first use

- Customize the generated text to suit your specific needs


πŸš€ Getting Started:

1. Make sure you have ComfyUI installed. If not, follow the installation instructions: https://www.comfyui.com/docs.

2. Download the SuperPrompter node files (`__init__.py` and superprompter_node.py) from the Superprompt (Unofficial) repository: https://github.com/NeuralSamurAI/Comfyui-Superprompt-Unofficial.

3. Place the node files in a directory named superprompter inside the ComfyUI nodes directory.

4. Install the required dependencies by running pip install -r requirements.txt.

5. Launch ComfyUI and start using the SuperPrompter node in your workflows!

(Alternately you can just paste the github address into the comfy manager Git installation option)


πŸ“‹ Usage:

1. Add the SuperPrompter node to your ComfyUI workflow.

2. Configure the input parameters according to your requirements.

3. Connect the SuperPrompter node to other nodes in your workflow as needed.

4. Execute the workflow to generate text based on your prompts and parameters.


πŸ™Œ Acknowledgments:

The SuperPrompter node is based on the great work by Brian Fitzgerald. Special thanks to him for the original concept and the SuperPrompt-v1 model. Found here: https://brianfitzgerald.xyz/prompt-augmentation/

I hope this node enhances your text generation workflows and sparks creativity. Feel free to provide feedback, suggestions, or report any issues you encounter.

πŸš€ (Happy Prompting:1.5) πŸš€

GitHub Repository: https://github.com/NeuralSamurAI/Comfyui-Superprompt-Unofficial