ComfyUI > Nodes > ComfyUI 1hewNodes > Save Image

ComfyUI Node: Save Image

Class Name

1hew_SaveImage

Category
1hewNodes/io
Author
1hew (Account age: 1113days)
Extension
ComfyUI 1hewNodes
Latest Updated
2026-04-17
Github Stars
0.03K

How to Install ComfyUI 1hewNodes

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

Facilitates efficient image saving with metadata in ComfyUI, aiding organization and documentation.

Save Image:

The 1hew_SaveImage node is designed to facilitate the saving of images generated or processed within the ComfyUI environment. Its primary purpose is to provide a streamlined and efficient method for storing images, ensuring that they are saved with the appropriate metadata and in the desired directory. This node is particularly beneficial for AI artists who need to manage and organize their image outputs effectively. By leveraging this node, you can ensure that your images are saved with consistent naming conventions and stored in either temporary or output directories, depending on your workflow needs. The node also supports metadata handling, allowing you to include additional information within the saved image files, which can be crucial for documentation and future reference.

Save Image Input Parameters:

image

The image parameter represents the image data that you wish to save. This parameter is crucial as it directly influences the content of the saved file. The image data should be in a format compatible with the ComfyUI environment, typically as a result of previous processing nodes. There are no specific minimum or maximum values for this parameter, but it must be a valid image object within the system.

filename

The filename parameter specifies the prefix for the saved image file's name. This parameter allows you to define a custom naming convention for your saved images, which can help in organizing and retrieving files later. The filename should be a string, and while there are no strict minimum or maximum lengths, it should be concise yet descriptive enough to identify the image's content or purpose.

save_metadata

The save_metadata parameter is a boolean that determines whether metadata should be included in the saved image file. When set to true, the node will embed additional information, such as prompts or other relevant data, into the image file. This can be particularly useful for tracking the parameters and settings used during image generation. The default value is typically false, meaning metadata is not saved unless explicitly specified.

save_output

The save_output parameter is a boolean that indicates whether the image should be saved in the output directory. If set to true, the image will be stored in a designated output folder, making it easier to locate and manage final outputs. If false, the image will be saved in a temporary directory, which is useful for intermediate steps or when the image is not intended for long-term storage. The default setting is usually true.

auto_increment

The auto_increment parameter is a boolean that, when enabled, automatically increments the filename to prevent overwriting existing files. This feature is particularly useful when saving multiple images with similar names, as it ensures each file is uniquely identified. The default value is typically true, allowing for seamless file management without manual intervention.

Save Image Output Parameters:

file_paths

The file_paths output parameter provides the absolute paths to the saved image files. This output is essential for verifying that the images have been saved correctly and for accessing them later. The paths are returned as a string, with each path separated by a newline if multiple images are saved. This output allows you to easily locate and utilize the saved images in subsequent processes or for sharing and documentation purposes.

Save Image Usage Tips:

  • Ensure that the filename parameter is descriptive and follows a consistent naming convention to facilitate easy retrieval and organization of saved images.
  • Utilize the save_metadata option to embed important information within your images, which can be invaluable for future reference or when sharing your work with others.
  • Enable auto_increment to avoid accidental overwriting of files, especially when saving multiple images in a batch process.

Save Image Common Errors and Solutions:

"Invalid image data"

  • Explanation: This error occurs when the provided image data is not in a compatible format or is corrupted.
  • Solution: Verify that the image data is correctly generated and compatible with the ComfyUI environment before attempting to save it.

"Filename not specified"

  • Explanation: This error indicates that the filename parameter is missing or empty.
  • Solution: Ensure that you provide a valid string for the filename parameter to avoid this error.

"Failed to save image"

  • Explanation: This error can occur due to issues with file permissions or directory paths.
  • Solution: Check that you have the necessary permissions to write to the specified directory and that the path is correct. Adjust the directory settings if needed.

Save Image Related Nodes

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