Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-Prompt-Gallery > 🎨 保存到画廊

ComfyUI Node: 🎨 保存到画廊

Class Name

SaveToGallery

Category
🎨 Prompt Gallery
Author
Lotus0614 (Account age: 1638days)
Extension
ComfyUI-Prompt-Gallery
Latest Updated
2026-07-27
Github Stars
0.02K

How to Install ComfyUI-Prompt-Gallery

Install this extension via the ComfyUI Manager by searching for ComfyUI-Prompt-Gallery
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Prompt-Gallery 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

🎨 保存到画廊 Description

Facilitates seamless saving of images with metadata in ComfyUI for AI artists to organize and manage artwork efficiently.

🎨 保存到画廊:

The SaveToGallery node is designed to facilitate the seamless saving of images into a gallery within the ComfyUI environment. This node is particularly beneficial for AI artists who wish to organize and manage their generated images efficiently. By utilizing this node, you can automatically save images with metadata, such as prompts and timestamps, into a structured directory. This not only helps in maintaining a well-organized collection of artworks but also aids in easy retrieval and reference. The node ensures that images are saved with a consistent naming convention and directory structure, which can be customized using time-based templates. This feature is especially useful for artists who generate a large volume of images and need a reliable method to catalog their work.

🎨 保存到画廊 Input Parameters:

prompt_string

The prompt_string parameter is essential for the SaveToGallery node as it connects the image to its corresponding prompt. This parameter ensures that each saved image is associated with the correct prompt, allowing for easy retrieval and reference in the future. The prompt string acts as a key identifier, linking the visual output to its textual inspiration. There are no specific minimum or maximum values for this parameter, but it must be a valid string that accurately represents the prompt used to generate the image.

prefix

The prefix parameter allows you to define a custom directory template and filename prefix for saving images. By default, it is set to "prompt_gallery/AG", which organizes images into a directory named prompt_gallery with filenames prefixed by AG. This parameter supports time-based formatting, enabling dynamic directory and filename creation based on the current date and time. This flexibility helps in maintaining an organized file structure, especially when dealing with large volumes of images. There are no strict constraints on the values, but it should be a valid string that can be parsed into a directory and filename format.

🎨 保存到画廊 Output Parameters:

The SaveToGallery node does not explicitly define output parameters in the provided context. However, its primary function is to save images to a specified directory with associated metadata, which can be considered an implicit output in terms of file creation and organization.

🎨 保存到画廊 Usage Tips:

  • Ensure that the prompt_string is correctly connected to the node to maintain accurate associations between images and their prompts.
  • Customize the prefix parameter to create a directory structure that suits your organizational needs, using time-based formatting for dynamic naming.

🎨 保存到画廊 Common Errors and Solutions:

🎨 保存到画廊 需要连接 prompt_string

  • Explanation: This error occurs when the prompt_string parameter is not connected, which is necessary for associating images with their prompts.
  • Solution: Ensure that the prompt_string is properly connected to the node before executing the save operation.

后台保存失败: <error_message>

  • Explanation: This error indicates a failure in the background saving process, possibly due to an exception or misconfiguration.
  • Solution: Check the error message for specific details and ensure that all input parameters are correctly configured. Review any recent changes that might have affected the node's operation.

🎨 保存到画廊 Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Prompt-Gallery
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.

🎨 保存到画廊