ComfyUI Node: SaveImageAdvanced

Class Name

SaveImageAdvanced

Category
Eden 🌱
Author
aiXander (Account age: 302days)
Extension
Various custom nodes by Eden.art
Latest Updated
2024-07-23
Github Stars
0.04K

How to Install Various custom nodes by Eden.art

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

SaveImageAdvanced Description

Advanced image-saving with timestamps, JSON metadata, and filename customization for AI-generated artwork.

SaveImageAdvanced:

The SaveImageAdvanced node is designed to provide advanced image-saving capabilities for AI-generated artwork. This node allows you to save images with additional features such as adding timestamps, saving metadata in JSON format, and customizing filename prefixes. It is particularly useful for artists who need to manage and organize their generated images efficiently. By leveraging this node, you can ensure that your images are saved with relevant metadata, making it easier to track and reference them later. The node's primary goal is to enhance the image-saving process by offering more control and flexibility compared to basic image-saving functions.

SaveImageAdvanced Input Parameters:

images

This parameter accepts a list of images that you want to save. Each image in the list should be in a format compatible with the node's saving mechanism. The images are processed and saved according to the specified settings.

add_timestamp

This boolean parameter determines whether a timestamp should be added to the saved image filenames. When set to True, the current date and time are appended to the filename, helping to uniquely identify and organize images. The default value is False.

save_metadata_json

This boolean parameter specifies whether to save metadata in a JSON file alongside the image. When enabled, metadata such as prompts and additional PNG information are stored in a JSON file, providing a comprehensive record of the image's creation context. The default value is False.

filename_prefix

This string parameter allows you to set a custom prefix for the saved image filenames. By default, the prefix is set to "ComfyUI", but you can customize it to better suit your project or organizational needs.

prompt

This optional parameter accepts a string containing the prompt used to generate the image. If provided, this information is saved as part of the image's metadata, making it easier to reference the original prompt later.

extra_pnginfo

This optional parameter accepts a dictionary of additional PNG information. Each key-value pair in the dictionary is saved as metadata in the image file, allowing you to store extra details relevant to the image.

SaveImageAdvanced Output Parameters:

ui

This output parameter returns a dictionary containing information about the saved images. The dictionary includes details such as the filenames, subfolders, and types of the saved images. This information is useful for further processing or referencing the saved images within your workflow.

SaveImageAdvanced Usage Tips:

  • To ensure your images are uniquely identifiable, enable the add_timestamp parameter. This is particularly useful when saving multiple versions of the same image.
  • Use the save_metadata_json parameter to keep a detailed record of the prompts and additional information used to generate each image. This can be invaluable for future reference or reproduction of the artwork.
  • Customize the filename_prefix to organize your images by project or category, making it easier to locate specific images later.

SaveImageAdvanced Common Errors and Solutions:

"Invalid image format"

  • Explanation: This error occurs when the provided images are not in a compatible format.
  • Solution: Ensure that the images are in a format supported by the node, such as PNG or JPEG.

"Failed to save metadata"

  • Explanation: This error occurs when there is an issue saving the metadata JSON file.
  • Solution: Check the file permissions and ensure that the output directory is writable. Verify that the metadata content is correctly formatted.

"Filename prefix conflict"

  • Explanation: This error occurs when the specified filename prefix results in conflicting filenames.
  • Solution: Use a unique filename prefix or enable the add_timestamp parameter to avoid conflicts.

SaveImageAdvanced Related Nodes

Go back to the extension to check out more related nodes.
Various custom nodes by Eden.art
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.