ComfyUI > Nodes > CRT-Nodes > Save Image With Path (CRT)

ComfyUI Node: Save Image With Path (CRT)

Class Name

SaveImageWithPath

Category
CRT/Save
Author
CRT (Account age: 1707days)
Extension
CRT-Nodes
Latest Updated
2026-03-16
Github Stars
0.1K

How to Install CRT-Nodes

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

Facilitates structured image saving in ComfyUI, preventing overwrites with auto-filename suffixes.

Save Image With Path (CRT):

The SaveImageWithPath node is designed to facilitate the saving of images generated or processed within the ComfyUI environment to a specified directory on your system. This node is particularly beneficial for AI artists who need to manage and organize their image outputs efficiently. It allows you to specify a folder path, subfolder name, and filename, ensuring that your images are saved in a structured manner. The node also includes logic to prevent overwriting existing files by appending a counter to the filename if a file with the same name already exists. This feature is especially useful when dealing with batch processing, as it automatically handles multiple images by appending a suffix to each image's filename. By converting image tensors to PIL images and saving them in the desired format, this node streamlines the workflow of saving images, making it an essential tool for artists who frequently work with image batches and need a reliable method to store their creations.

Save Image With Path (CRT) Input Parameters:

image

The image parameter represents the image data that you want to save. It is typically a tensor that contains the pixel data of the image. This parameter is crucial as it determines the content of the file that will be saved. There are no specific minimum or maximum values for this parameter, but it should be a valid image tensor that can be converted to a PIL image.

folder_path

The folder_path parameter specifies the directory where the image will be saved. This allows you to organize your images into specific folders on your system. The path should be a valid directory path, and it is important to ensure that the directory exists or can be created by the node.

subfolder_name

The subfolder_name parameter allows you to specify a subfolder within the main folder path where the image will be saved. This is useful for further organizing images into categories or projects. The subfolder will be created if it does not already exist.

filename

The filename parameter is the base name for the saved image file. If you are saving a batch of images, a suffix will be appended to this base name to differentiate each image. It is important to choose a descriptive and unique filename to avoid confusion with other files.

extension

The extension parameter determines the file format in which the image will be saved, such as .png or .jpg. This affects the quality and size of the saved image, so it is important to choose an appropriate format based on your needs.

Save Image With Path (CRT) Output Parameters:

None

The SaveImageWithPath node does not produce any direct output parameters. Its primary function is to save the image to the specified path, and it does not return any data to the workflow. The success of the operation can be inferred from the absence of error messages and the presence of the saved file in the specified directory.

Save Image With Path (CRT) Usage Tips:

  • Ensure that the folder_path and subfolder_name are correctly specified and that the directories exist or can be created by the node to avoid errors during the saving process.
  • Use descriptive filenames and appropriate file extensions to ensure that your saved images are easily identifiable and of the desired quality.
  • When saving batches of images, be aware that the node will automatically append a suffix to each filename to prevent overwriting, so you do not need to manually manage filenames for each image in the batch.

Save Image With Path (CRT) Common Errors and Solutions:

❌ ERROR in Save Image With Path (CRT): No input image provided

  • Explanation: This error occurs when the image parameter is not provided or is None.
  • Solution: Ensure that a valid image tensor is passed to the node before attempting to save.

❌ ERROR in Save Image With Path (CRT): Invalid folder path

  • Explanation: This error indicates that the specified folder_path does not exist and cannot be created.
  • Solution: Verify that the folder_path is correct and that you have the necessary permissions to create directories in the specified location.

❌ ERROR in Save Image With Path (CRT): File save failed

  • Explanation: This error may occur if there is an issue with writing the file to the disk, such as insufficient disk space or file permission issues.
  • Solution: Check the available disk space and ensure that you have write permissions for the specified directory.

Save Image With Path (CRT) Related Nodes

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