Skip to content
Node packVerifiedExternal
Open source

prompt-generator-comfyui

Custom AI prompt generator node for the ComfyUI

Maintainer@alpertunga-bileBgrade

Package profile

Status
Verified
Publisher
@alpertunga-bile
Source
GitHub
Stars
116

README

prompt-generator-comfyui

Dynamic JSON Badge Dynamic JSON Badge

Custom AI prompt generator node for ComfyUI. With this node, you can use text generation models to generate prompts. Before using, text generation model has to be trained with prompt dataset or you can use the pretrained models.

Table Of Contents

Setup

For Portable Installation of the ComfyUI

  1. Clone the repository with git clone https://github.com/alpertunga-bile/prompt-generator-comfyui.git command under custom_nodes folder
  2. Go to the ComfyUI_windows_portable folder and install the required packages with .\python_embeded\Scripts\python.exe -s -m pip install -r .\ComfyUI\custom_nodes\prompt-generator-comfyui\requirements.txt command
  3. Put your generator under the models/prompt_generators folder. You have to put generator as folder. Do not just put pytorch_model.bin file for example.
  4. Go to the ComfyUI_windows_portable folder and run the run_nvidia_gpu.bat file
  5. Open the hires.fixWithPromptGenerator.json or basicWorkflowWithPromptGenerator.json workflow

For Manual Installation of the ComfyUI

  1. Clone the repository with git clone https://github.com/alpertunga-bile/prompt-generator-comfyui.git command under custom_nodes folder.
  2. Activate the virtual environment if there is one and install the required packages with pip install -r requirements.txt command
  3. Put your generator under the models/prompt_generators folder. You have to put generator as folder. Do not just put pytorch_model.bin file for example.
  4. Open the hires.fixWithPromptGenerator.json or basicWorkflowWithPromptGenerator.json workflow

For ComfyUI Manager Users

  1. Download the node with ComfyUI Manager
    • The required packages are installed automatically when installing the node.
  2. Put your generator under the models/prompt_generators folder. You have to put generator as folder. Do not just put pytorch_model.bin file for example.
  3. Open the hires.fixWithPromptGenerator.json or basicWorkflowWithPromptGenerator.json workflow

Features

  • Multiple output generation is added. You can choose from 5 outputs with the

Nodes in this pack

1 node
  • Prompt Generator

Sources

3 sources
GitHubSourceVersion ccc4d25a90d419f3b97a26886a3a2b2e14864b9d
github.com/alpertunga-bile/prompt-generator-comfyui

Verified Sep 12

Source excerpts

1 excerpt

Source context: Repo alpertunga-bile/prompt-generator-comfyui