ComfyUI  >  Nodes  >  wlsh_nodes >  Save Prompt/Info (WLSH)

ComfyUI Node: Save Prompt/Info (WLSH)

Class Name

Save Prompt_Info (WLSH)

Category
WLSH Nodes/IO
Author
wallish77 (Account age: 2229 days)
Extension
wlsh_nodes
Latest Updated
6/19/2024
Github Stars
0.1K

How to Install wlsh_nodes

Install this extension via the ComfyUI Manager by searching for  wlsh_nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter wlsh_nodes 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Save Prompt/Info (WLSH) Description

Facilitates saving image files with prompt info for AI artists, automating directory creation and organizing details.

Save Prompt_Info (WLSH):

The Save Prompt_Info (WLSH) node is designed to facilitate the saving of image files along with their associated prompt information. This node is particularly useful for AI artists who want to keep a detailed record of the prompts used to generate specific images, including positive and negative prompts, model names, and other metadata. By using this node, you can ensure that all relevant information is stored alongside your images, making it easier to track and reproduce your creative process. The node automatically handles the creation of necessary directories and formats filenames and comments to include essential details, ensuring a seamless and organized saving process.

Save Prompt_Info (WLSH) Input Parameters:

images

This parameter accepts the images you want to save. It is essential for the node's operation as it determines the visual content that will be stored along with the prompt information.

positive

This parameter allows you to specify the positive prompt used during the image generation. The default value is "unknown". Including this information helps in understanding the creative direction and intent behind the image.

negative

This parameter allows you to specify the negative prompt used during the image generation. The default value is "unknown". This information is useful for understanding the constraints or elements that were avoided during the creation process.

seed

This parameter is used to specify the seed value for the image generation process. The default value is -1. The seed is crucial for reproducing the exact same image in future sessions.

modelname

This parameter allows you to specify the name of the model used for generating the image. The default value is "unknown". Knowing the model name helps in identifying the tools and techniques used in the creative process.

counter

This parameter is used to specify a counter value that can be included in the filename. The default value is 0. It helps in differentiating between multiple images saved in the same session.

filename

This parameter allows you to specify a custom filename for the saved image. If left empty, the node will generate a filename based on other parameters like seed, modelname, and counter.

path

This parameter specifies the directory path where the image will be saved. If the specified path does not exist, the node will create it automatically.

time_format

This parameter allows you to specify the format for the timestamp included in the filename. The default value is "%Y-%m-%d-%H%M%S". It helps in organizing files based on their creation time.

extension

This parameter specifies the file extension for the saved image. The default value is 'png'. It determines the format in which the image will be stored.

quality

This parameter allows you to specify the quality of the saved image. The default value is 100. It is particularly relevant for formats like JPEG where quality can be adjusted.

prompt

This parameter allows you to include additional prompt information that will be saved with the image. It provides more context about the image generation process.

extra_pnginfo

This parameter allows you to include extra PNG information that will be saved with the image. It is useful for storing additional metadata.

Save Prompt_Info (WLSH) Output Parameters:

ui

This output parameter returns a dictionary containing the paths of the saved images. It helps in verifying that the images have been saved correctly and provides easy access to their locations.

Save Prompt_Info (WLSH) Usage Tips:

  • Ensure that the path parameter is correctly specified to avoid saving images in unintended directories.
  • Use the seed parameter to reproduce exact images in future sessions, which is particularly useful for iterative creative processes.
  • Customize the filename and time_format parameters to organize your saved images in a way that suits your workflow.

Save Prompt_Info (WLSH) Common Errors and Solutions:

The path <specified_path> doesn't exist! Creating directory.

  • Explanation: This message indicates that the specified directory path does not exist and the node is creating it automatically.
  • Solution: No action is needed as the node handles the creation of the directory. Ensure that the specified path is correct.

Error loading prompt info from png

  • Explanation: This error occurs when the node fails to load prompt information from a PNG file.
  • Solution: Verify that the PNG file contains the necessary prompt information. If the issue persists, try saving the image again with the correct prompt data.

Save Prompt/Info (WLSH) Related Nodes

Go back to the extension to check out more related nodes.
wlsh_nodes
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.