ComfyUI > Nodes > ComfyUI_PromptManager

ComfyUI Extension: ComfyUI_PromptManager

Repo Name

ComfyUI_PromptManager

Author
kiko9 (Account age: 205 days)
Nodes
View all nodes(1)
Latest Updated
2025-12-09
Github Stars
0.09K

How to Install ComfyUI_PromptManager

Install this extension via the ComfyUI Manager by searching for ComfyUI_PromptManager
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_PromptManager in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ComfyUI_PromptManager Description

ComfyUI_PromptManager enhances ComfyUI with a custom node for persistent prompt storage, advanced search, and an automatic image gallery system, utilizing SQLite to extend the standard text encoder.

ComfyUI_PromptManager Introduction

ComfyUI_PromptManager is an innovative extension designed to enhance the capabilities of ComfyUI, a popular tool used by AI artists for creating and managing prompts. This extension acts as a comprehensive prompt management system, offering features such as persistent storage, advanced search capabilities, and an automatic image gallery. It is particularly useful for AI artists who want to efficiently organize and retrieve their creative prompts, track their usage, and analyze the metadata associated with their workflows. By integrating seamlessly with ComfyUI, ComfyUI_PromptManager helps solve common problems related to prompt duplication, organization, and metadata analysis, making it an essential tool for artists looking to streamline their creative process.

How ComfyUI_PromptManager Works

At its core, ComfyUI_PromptManager functions as a replacement for the standard CLIPTextEncode node in ComfyUI. It extends the basic functionality by automatically saving all prompts to a local SQLite database, allowing for easy retrieval and management. The extension uses SHA256 hashing to prevent duplicate prompts from being stored, ensuring that your database remains clean and organized. Additionally, it features an advanced web interface that provides a comprehensive admin dashboard for managing prompts, images, and metadata. The extension also includes a powerful image gallery system that automatically links generated images to their corresponding prompts, making it easy to track and analyze your creative outputs.

ComfyUI_PromptManager Features

Core Functionality

  • Text Encoding: Works like the standard CLIP text encoder, ensuring compatibility with existing workflows.
  • Auto-Save: Automatically saves every prompt to a local database, preserving your creative ideas.
  • Metadata Support: Allows you to add categories, tags, ratings, notes, and workflow names to each prompt for better organization.
  • Hash-based Deduplication: Prevents duplicate prompts from being stored, keeping your database tidy.

The image gallery, powered by ViewerJS, offers a professional image viewing experience with features like zoom, rotation, and slideshow modes. It automatically detects new images in the ComfyUI output directory and links them to their corresponding prompts based on execution timing. The gallery also includes a metadata sidebar that displays generation parameters and allows for one-click copying of prompts and workflow data.

ComfyUI Workflow Analysis

ComfyUI_PromptManager can extract and analyze workflow data from PNG images generated by ComfyUI. This includes recovering prompts, generation parameters, and model information. The extension supports multiple node types and offers a standalone metadata viewer for in-depth analysis.

Search & Retrieval

The extension provides full-text search capabilities across all stored prompts, with options for category filtering, tag-based search, and rating filters. You can also search by date range or quickly access recent and top-rated prompts.

Advanced Web Interface

The web interface includes an admin dashboard with a modern dark theme, real-time search, bulk operations, and system management tools. It allows you to configure settings, perform database maintenance, and export prompts and metadata in various formats.

ComfyUI_PromptManager Models

The extension does not include different models but rather enhances the existing ComfyUI framework with additional features and capabilities.

What's New with ComfyUI_PromptManager

v3.0.3

  • ViewerJS Integration: The image gallery now includes professional viewing controls with ViewerJS, offering enhanced navigation and metadata display.
  • Enhanced Metadata Parsing: Improved extraction of ComfyUI workflow parameters, providing more detailed insights into your creative process.
  • Responsive Design: The web interface and image gallery are now fully compatible with mobile and tablet devices.

v3.0.0

  • PNG Metadata Analysis: Advanced extraction of workflow data from PNG images, allowing for comprehensive analysis and prompt recovery.
  • Standalone Metadata Viewer: A dedicated tool for analyzing ComfyUI-generated images, accessible via the web interface.

Troubleshooting ComfyUI_PromptManager

Common Issues

  • Database Permission Errors: Ensure that the ComfyUI process has write permissions to the node directory and that the database file is not locked by another process.
  • Import Errors: Verify that ComfyUI is properly installed and that all required dependencies are available.
  • Performance Issues: Run VACUUM on the database occasionally to optimize performance and consider archiving old prompts if the database becomes very large.

Debug Mode

For debugging, enable verbose logging in the node by adding the following to your code:

python import logging logging.basicConfig(level=logging.DEBUG)

Learn More about ComfyUI_PromptManager

To further explore the capabilities of ComfyUI_PromptManager, you can visit the ViewerJS website for more information on the image viewing features. Additionally, engaging with the ComfyUI community through forums and discussion groups can provide valuable insights and support for using the extension effectively.

ComfyUI_PromptManager Related Nodes

RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.