ComfyUI Extension: ComfyUI-Prompt-Manager
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
A simple custom node for ComfyUI that allows you to save and reuse prompts, organized into different categories
Looking for a different extension?
Custom Nodes (18)
- LoRA Stack Combine
- Multi LoRA Combine
- Multi LoRA Splitter
- Multi LoRA Stack
- Prompt Extractor
- Prompt Generator
- Prompt Generator Kill Switch
- Prompt Generator Options
- Prompt Manager (Basic)
- Prompt Manager
- Recipe Builder
- Multi Prompts
- Recipe Extractor
- Recipe Manager
- Recipe Model Loader
- Recipe Model Picker
- Recipe Relay
- Recipe Renderer
README
ComfyUI Prompt Manager
A comprehensive prompt and recipe toolkit for ComfyUI
ComfyUI Prompt Manager is a prompt toolkit for ComfyUI focused on writing, generating, extracting, organizing, and reusing prompts with LoRA-aware workflows. It includes local LLM-powered prompt generation (llama.cpp or Ollama) with automatic download of Qwen3.5 models, metadata extraction from images/videos/JSON, prompt browser tooling, and advanced prompt save/load flows. For users who want full pipeline reuse, it also includes an optional Recipe toolset to build, edit, render, load, relay, and save complete generation configs from extracted or hand-authored data. Metadata extraction supports media generated in ComfyUI, A1111, and Forge, including Wan workflows with dual model/stack support.
What This Provides
- Prompt authoring and management: Prompt Manager (Advanced + Basic) for prompt save/load workflows, LoRA stacks or Multi Lora Stacks, trigger words, and reusable prompt libraries.
- Prompt generation (local LLM): Prompt Generator + Prompt Generator Options using llama.cpp or Ollama, with support for text enhancement and image-based analysis (Qwen3.5 vision models).
- Prompt and metadata extraction: Prompt Extractor reads metadata from images/videos/JSON and can output prompt, LoRA, and recipe context.
- Prompt browsing utilities: Browser tools to quickly find and load saved prompts or recipes.
- LoRA workflow support: Multi-LoRA stack tooling and editable LoRA data when reusing saved entries.
- Optional full Recipe toolkit: Recipe Builder, Recipe Extractor, Recipe Relay, Recipe Renderer, Recipe Model Loader/Picker, and Recipe Manager for complete generation pipelines.
- Model-aware recipe rendering: Recipe Renderer supports Flux 1/2, Ernie, SDXL, Wan, Qwen, Z-Image, Wan Image, and Wan Video (I2V/T2V).
- Lora Preview integration: When Lora-Manager is installed, LoRAs can be previewed on hover.
- Advanced media loading: Extractor nodes can also act as advanced image loaders from Input and Output folders.
<div align="center"> <figcaption>Prompt Creation With Lora and Trigger Words</figcaption> <img src="docs/images/prompt_generator_text.png" alt="Prompt Manager"> </div> <div align="center"> <figcaption>Generating Prompts based on Images</figcaption> <img src="docs/images/prompt_generator_image.png" alt="Prompt Generator"> </div> <div align="center"> <figcaption>Advanced Prompt Generation using Multiple Images</figcaption> <img src="docs/images/prompt_generator_advanced.png" alt="Prompt Generator"> </div> <div align="center"> <figcaption>Recipe extraction and modifcation (Adding a Style Lora)</figcaption> <img src="docs/images/workflow_builder.png" alt="Recipe Builder"> </div> <div align="center"> <figcaption>Easily find saved Prompts & Recipe using the Built-in File Browser</figcaption> <img src="docs/images/prompt_selector.png" alt="Recipe Builder"> </div> <div align="center"> <figcaption>Use Extractor Nodes as an Image Loader, allowing browsing from Input and Output folder.</figcaption> <img src="docs/images/adv_file_loading.png" alt="Recipe Builder"> </div>
v2.0 Introduces an Experimental Recipe Toolset
Version 2.x introduces an optional Recipe toolset that can be used on its own, or in combination with the Prompt toolset.
- Use the Recipe toolset when you want repeatable generation pipelines from extracted or hand-edited recipe data.
- Recipe Data includes prompts (pos & neg), LoRA stack, mode used, KSampler settings, resolution, seed, and more.
- This data can be created using Recipe Builder or extracted from existing media with Recipe Extractor.
- Recipe Renderer provides an easy way to render this recipe.
- Recipe data can also be used traditionally with the Recipe Relay node, which can access all of it.
- Use the Prompt toolset when you want fast prompt library management and local LLM-assisted prompt creation.
- Prompt Generator allows creation of new prompts using the LLM model of your choice.
- Prompt Manager can save these to be reusable later.
- Prompt Extractor is similar to Recipe Extractor, but can individually output prompts or LoRAs.
- Use both together when you want to create Recipes, but use different prompts.
Toolset Overview
Prompt Toolset
- Prompt Manager: dual LoRA stacks, trigger words, thumbnail workflows, and advanced save flows.
- Prompt Extractor: reads metadata from images/videos/JSON and outputs prompt + LoRA + recipe context.
- Prompt Generator + Options: local LLM prompt creation and enhancement using llama.cpp or Ollama.
- Prompt Manager (Basic): category-based prompt save/load. A no-frills basic version (The OG).
Recipe Toolset
- Recipe Extractor: normalizes extracted metadata into reusable recipe_data.
- Recipe Builder: edit and validate recipe_data in a cleaner authoring surface.
- Recipe Renderer: execute recipe_data through built-in generation templates.
- Recipe Hub: merge/append model blocks into one
recipe_dataand expose each model block as its own output. - Recipe Relay: edit one model block (
model_data) with seed and LoRA stack overrides. - Recipe Model Loader: resolve and load models from recipe_data.
- Recipe Manager: save and reuse recipe entries.
Common Pipelines
Prompt-first Pipeline
- Write or generate prompts and connect LoRA stacks into Prompt Manager.
- Generate with your normal ComfyUI graph.
- Save reusable prompt entries when satisfied.
Recipe-first Pipeline
- Create preset in Recipe Builder
- By extracting recipe_data from media or JSON, using Recipe Extractor
- Or by directly modifying Recipe Builder to the values you want.
- Render in Recipe Renderer.
- Save reusable recipe entries with Recipe Manager.
- To include Thumbnail, add after the Renderer node.
Hybrid Pipeline
- Extract or build recipe_data.
- Add Prompt Generator or Save prompts into Builder.
- Add LoRAs, either using LoRA stackers or saved LoRA stacks in Prompt Manager.
- Render through Recipe Renderer.
- Save final reusable entries in Recipe Manager.
Preferences And Settings
- Addon settings are available in ComfyUI Preferences (Settings) under Prompt Manager.
- This is where you set model/backend defaults, NSFW visibility defaults, view preferences, and related addon behavior.
- Prompt Generator backend choices (llama.cpp or Ollama) and related options are configured there.
Workflow Examples
Workflow examples are provided to help understand the basics.
Documentation
- Detailed node and feature reference: docs/feature-reference.md
- Full changelog history: docs/changelog.md
Installation
- Navigate to your ComfyUI custom nodes directory:
cd ComfyUI/custom_nodes/ - Clone this repository:
git clone https://github.com/FranckyB/ComfyUI-Prompt-Manager.git - Install dependencies:
cd ComfyUI-Prompt-Manager pip install -r requirements.txt - Install llama.cpp:
- Windows:
winget install llama.cpp - Linux:
brew install llama.cpp
- Windows:
- Place custom
.ggufmodels in models/gguf.- Or use preferences to set a custom path.
- Restart ComfyUI.
Requirements
- ComfyUI
- Python 3.8+
- requests
- huggingface_hub
- psutil
- tqdm
- Pillow
- colorama
- llama-server (from llama.cpp)
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.