Visit ComfyUI Online for ready-to-use ComfyUI environment
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 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.
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.
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_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.
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.
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.
The extension does not include different models but rather enhances the existing ComfyUI framework with additional features and capabilities.
VACUUM on the database occasionally to optimize performance and consider archiving old prompts if the database becomes very large.For debugging, enable verbose logging in the node by adding the following to your code:
python import logging logging.basicConfig(level=logging.DEBUG)
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.
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.