ComfyUI > Nodes > ComfyUI-LogicUtils > Save Image Custom Node

ComfyUI Node: Save Image Custom Node

Class Name

SaveImageCustomNode

Category
image
Author
aria1th (Account age: 3016days)
Extension
ComfyUI-LogicUtils
Latest Updated
2026-01-21
Github Stars
0.1K

How to Install ComfyUI-LogicUtils

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

Automates image saving in workflows, supports formats and metadata, ideal for AI art management.

Save Image Custom Node:

The SaveImageCustomNode is designed to facilitate the saving of images within a node-based workflow, providing a streamlined method for storing image outputs generated during processing. This node is particularly beneficial for AI artists and developers who need to manage and organize their image outputs efficiently. By integrating this node into your workflow, you can automate the process of saving images, ensuring that your creative outputs are preserved without manual intervention. The node is capable of handling various image formats and can be customized to include metadata, making it a versatile tool for both simple and complex image-saving tasks.

Save Image Custom Node Input Parameters:

image

The image parameter is the primary input for the SaveImageCustomNode, representing the image data that you wish to save. This parameter accepts image data in a format compatible with the node's processing capabilities, typically as a PIL image or a similar structure. The image input is crucial as it determines the content that will be saved by the node. There are no specific minimum or maximum values for this parameter, but it should be a valid image object that the node can process.

file_path

The file_path parameter specifies the location where the image will be saved. This parameter is essential as it defines the directory and filename for the output image, ensuring that the saved file is stored in the desired location. The file path should be a valid path on your system, and it is advisable to ensure that the directory exists and is writable to avoid errors during the saving process.

format

The format parameter determines the file format in which the image will be saved. Common options include formats like JPEG, PNG, and others supported by the node. This parameter is important as it affects the quality, compression, and compatibility of the saved image. The choice of format should align with your specific needs, such as whether you require lossless quality or smaller file sizes.

metadata

The metadata parameter allows you to include additional information with the saved image, such as prompts or extra data relevant to the image's creation. This parameter is optional but can be highly beneficial for keeping track of the context or settings used during image generation. Metadata should be provided in a structured format, such as a dictionary, to ensure it is correctly embedded in the image file.

Save Image Custom Node Output Parameters:

saved_image_path

The saved_image_path is the output parameter that provides the path to the saved image file. This output is crucial as it confirms the successful execution of the node and allows you to access the saved image directly. The path returned will match the file_path input, ensuring consistency and traceability in your workflow.

Save Image Custom Node Usage Tips:

  • Ensure that the file_path is correctly specified and that the directory exists to prevent errors during the saving process.
  • Choose the format parameter based on your needs for image quality and file size; for example, use PNG for lossless quality or JPEG for smaller file sizes.
  • Utilize the metadata parameter to embed useful information about the image's creation, which can be helpful for future reference or reproduction of results.

Save Image Custom Node Common Errors and Solutions:

FileNotFoundError

  • Explanation: This error occurs when the specified file_path does not exist or is not accessible.
  • Solution: Verify that the directory specified in the file_path exists and is writable. Create the directory if it does not exist.

UnsupportedFormatError

  • Explanation: This error is raised when the specified format is not supported by the node.
  • Solution: Ensure that the format parameter is set to a supported image format, such as JPEG or PNG.

MetadataEmbeddingError

  • Explanation: This error can occur if the metadata provided is not in a valid format or cannot be embedded in the image.
  • Solution: Check that the metadata is structured correctly, typically as a dictionary, and ensure it contains valid data types for embedding.

Save Image Custom Node Related Nodes

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