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 > Sage Utils > Save Image With Metadata

ComfyUI Node: Save Image With Metadata

Class Name

Sage_SaveImageWithMetadata

Category
Sage Utils/image
Author
arcum42 (Account age: 6442days)
Extension
Sage Utils
Latest Updated
2026-05-17
Github Stars
0.03K

How to Install Sage Utils

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

Save Image With Metadata Description

Saves images with embedded metadata for preserving creation details and enhancing reproducibility.

Save Image With Metadata:

The Sage_SaveImageWithMetadata node is designed to facilitate the saving of images to disk while embedding rich metadata within them. This node is particularly beneficial for AI artists and developers who wish to preserve detailed information about the image creation process, such as parameters used, prompts, and additional metadata. By embedding metadata directly into the image file, this node ensures that all relevant information is retained and easily accessible for future reference or analysis. This capability is crucial for maintaining a comprehensive record of the creative process, enabling better reproducibility and understanding of the image generation workflow.

Save Image With Metadata Input Parameters:

images

This parameter accepts the images that you wish to save. It is the primary input and determines which images will be processed and stored with metadata. There are no specific minimum or maximum values, as it depends on the images you provide.

filename_prefix

This parameter allows you to specify a prefix for the filenames of the saved images. By default, it is set to "image_". This helps in organizing and identifying images easily, especially when saving multiple files.

include_node_metadata

This boolean parameter determines whether node-specific metadata should be included in the saved image. By default, it is set to True, meaning that metadata related to the node's operation will be embedded in the image, providing context about the image generation process.

include_extra_pnginfo_metadata

This boolean parameter specifies whether additional PNG info metadata should be included in the image. It is set to False by default. Enabling this option allows for the inclusion of extra metadata fields, which can be useful for storing supplementary information.

save_text

This boolean parameter indicates whether accompanying text files containing metadata should be saved alongside the images. By default, it is set to False. When enabled, it provides a separate text file with metadata, which can be useful for documentation or analysis purposes.

param_metadata

This string parameter allows you to embed specific metadata into the image. It is an optional field where you can input any relevant information you wish to associate with the image. By default, it is an empty string.

extra_metadata

This string parameter is used to include any additional metadata that you want to embed in the image. Like param_metadata, it is optional and defaults to an empty string, allowing for flexibility in the type of information you wish to store.

Save Image With Metadata Output Parameters:

This node does not produce any direct output parameters. Its primary function is to save images with embedded metadata, so the result is the saved image files themselves, which contain the specified metadata.

Save Image With Metadata Usage Tips:

  • Ensure that the filename_prefix is descriptive enough to help you identify the images later, especially when dealing with large batches.
  • Use the include_node_metadata option to retain detailed information about the image generation process, which can be invaluable for future reference or replication of results.
  • Consider enabling save_text if you need a separate record of the metadata for documentation or sharing purposes.

Save Image With Metadata Common Errors and Solutions:

Metadata not saved

  • Explanation: This issue may occur if metadata embedding is disabled in the application settings.
  • Solution: Ensure that metadata embedding is enabled in the application settings and that the disable_metadata flag is not set.

Image not saved

  • Explanation: This could happen if the file path is incorrect or if there are permission issues.
  • Solution: Verify that the file path is correct and that you have the necessary permissions to write to the specified directory.

Invalid metadata format

  • Explanation: This error might occur if the metadata provided is not in a valid format.
  • Solution: Check that all metadata inputs are correctly formatted and do not contain unsupported characters or structures.

Save Image With Metadata Related Nodes

Go back to the extension to check out more related nodes.
Sage Utils
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.

Save Image With Metadata