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

ComfyUI Node: Image Save with Prompt/Info (WLSH)

Class Name

Image Save with 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

Image Save with Prompt/Info (WLSH) Description

Save AI-generated artwork images with associated prompt info, embedding metadata for easy reproduction and analysis.

Image Save with Prompt_Info (WLSH):

The Image Save with Prompt_Info (WLSH) node is designed to save images along with their associated prompt information, providing a comprehensive way to document and store your AI-generated artwork. This node not only saves the image files but also embeds metadata such as positive and negative prompts, model name, and seed used for generation. This ensures that all relevant information is preserved, making it easier to reproduce or analyze the results later. The node is particularly useful for AI artists who want to keep a detailed record of their creative process, facilitating better organization and retrieval of their work.

Image Save with Prompt_Info (WLSH) Input Parameters:

images

This parameter accepts the images you want to save. It is the primary input and should be a list of image objects generated by your AI model. The quality and format of these images will be determined by other parameters.

positive

This parameter is used to input the positive prompt text that was used to generate the images. It helps in documenting the creative intent behind the artwork. The default value is "unknown".

negative

This parameter is used to input the negative prompt text that was used to generate the images. It helps in documenting any constraints or exclusions applied during the generation process. The default value is "unknown".

seed

This parameter is used to input the seed value that was used for generating the images. The seed ensures reproducibility of the results. The default value is -1, indicating that no specific seed was used.

modelname

This parameter is used to input the name of the AI model used for generating the images. It helps in identifying the model and its version, which is crucial for reproducibility. The default value is "unknown".

counter

This parameter is used to input a counter value that can be used to differentiate between multiple images saved in a sequence. The default value is 0.

filename

This parameter is used to input the base name for the saved image files. The actual filename will be generated based on this base name and other parameters like seed and model name. The default value is an empty string.

path

This parameter is used to input the directory path where the images will be saved. If the specified path does not exist, it will be created. The default value is an empty string.

time_format

This parameter is used to input the format for the timestamp that will be included in the filename. The default value is "%Y-%m-%d-%H%M%S".

extension

This parameter is used to input the file extension for the saved images. Common options include 'png' and 'jpg'. The default value is 'png'.

quality

This parameter is used to input the quality of the saved images, applicable only if the extension is 'jpg'. The value ranges from 1 to 100, with 100 being the highest quality. The default value is 100.

prompt

This parameter is used to input any additional prompt information that should be embedded in the image metadata. The default value is None.

extra_pnginfo

This parameter is used to input any extra PNG information that should be embedded in the image metadata. The default value is None.

Image Save with 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 an easy way to access them.

Image Save with Prompt_Info (WLSH) Usage Tips:

  • Ensure that the path parameter is correctly set to avoid saving images in unintended directories.
  • Use meaningful values for positive, negative, and modelname parameters to make it easier to identify and reproduce your work later.
  • If you are saving multiple images in a sequence, use the counter parameter to differentiate between them.
  • For high-quality images, especially when using the 'jpg' extension, set the quality parameter to a high value.

Image Save with 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.
  • Solution: No action is needed as the node will automatically create the missing directory. Ensure that the path is correctly specified to avoid this message in the future.

Error loading prompt info from png

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

Image Save with 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.