ComfyUI > Nodes > ComfyUI_KimNodes > 🍒Save_Image / 判断路径保存

ComfyUI Node: 🍒Save_Image / 判断路径保存

Class Name

Save_Image

Category
🍒 Kim-Nodes/🔍Text_Tools | 文本工具
Author
Kim (Account age: 2536days)
Extension
ComfyUI_KimNodes
Latest Updated
2025-09-22
Github Stars
0.05K

How to Install ComfyUI_KimNodes

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

The Save_Image node automates image saving with metadata and directory creation in ComfyUI.

🍒Save_Image / 判断路径保存:

The Save_Image node is designed to facilitate the saving of images generated or processed within the ComfyUI environment. This node is essential for users who wish to preserve their creative outputs in a structured and organized manner. By leveraging this node, you can ensure that your images are stored with appropriate metadata, which can be crucial for future reference or further processing. The node handles the creation of directories if they do not exist, ensuring that your images are saved in the correct location without manual intervention. This functionality is particularly beneficial for AI artists who generate multiple images and need an efficient way to manage and archive their work. The node's ability to handle file paths and extensions automatically simplifies the saving process, allowing you to focus more on the creative aspects rather than the technical details of file management.

🍒Save_Image / 判断路径保存 Input Parameters:

images

The images parameter represents the collection of images that you wish to save. This input is crucial as it determines the content that will be stored on your system. The images are typically in a format that can be processed by the node, and they are expected to be in a compatible data structure that the node can interpret and handle effectively.

filename_prefix

The filename_prefix parameter allows you to specify a prefix for the filenames of the saved images. This is particularly useful for organizing your files and ensuring that they are easily identifiable. The default value is typically set to a generic name like "ComfyUI," but you can customize it to suit your project or personal naming conventions.

file_path

The file_path parameter specifies the directory path where the images will be saved. If the directory does not exist, the node will create it automatically, ensuring that your images are stored in the desired location. This parameter is essential for organizing your files and maintaining a structured file system.

disable_metadata

The disable_metadata parameter is a boolean option that allows you to choose whether to include metadata in the saved images. Metadata can be useful for storing additional information about the image, such as creation date, author, or processing details. By default, metadata is included, but you can disable it if you prefer a cleaner file without additional data.

🍒Save_Image / 判断路径保存 Output Parameters:

saved_images

The saved_images parameter represents the collection of images that have been successfully saved to the specified directory. This output confirms that the images have been stored as intended and provides a reference to the saved files. It is important for verifying that the save operation was completed successfully and that the images are accessible for future use.

🍒Save_Image / 判断路径保存 Usage Tips:

  • Ensure that the file_path is correctly specified to avoid saving images in unintended locations. This will help maintain an organized file structure.
  • Use descriptive filename_prefix values to make it easier to identify and retrieve specific images later, especially when dealing with large batches of images.
  • Consider enabling metadata unless you have specific reasons to exclude it, as it can provide valuable context and information about the saved images.

🍒Save_Image / 判断路径保存 Common Errors and Solutions:

Directory not found

  • Explanation: This error occurs when the specified file_path does not exist and cannot be created.
  • Solution: Ensure that the file_path is valid and that you have the necessary permissions to create directories in the specified location.

Invalid image format

  • Explanation: This error arises when the images provided are in a format that the node cannot process.
  • Solution: Verify that the images are in a compatible format and that they are correctly structured for processing by the node.

Metadata inclusion failed

  • Explanation: This error happens when there is an issue with attaching metadata to the images.
  • Solution: Check if the metadata is correctly formatted and that there are no conflicts with the image data. If necessary, disable metadata to bypass the issue.

🍒Save_Image / 判断路径保存 Related Nodes

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