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 > comfyui_gr85 > Save Image File

ComfyUI Node: Save Image File

Class Name

GR85_SaveImageFile

Category
GR85/Utils
Author
veighnsche (Account age: 3974days)
Extension
comfyui_gr85
Latest Updated
2026-08-13
Github Stars
0.0K

How to Install comfyui_gr85

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

Legacy ComfyUI node saves one image to disk with configurable folder, numbering, and format.

Save Image File:

Legacy version: This page documents GR85_SaveImageFile at upstream commit ec29a1369630f85935078e7ac599bf51a82f196e. The node has been removed from the current extension. Its availability and interface here apply to that historical revision, not the latest release.

GR85_SaveImageFile saves an image as a file on disk when your workflow runs. It can create the destination folder, build a filename from a prefix and optional number, and save the image using the chosen file extension. This makes it useful when you want your artwork stored in a specific folder with predictable names. It is an output node: its purpose is to save a file, not to pass an image to another node. The implementation reports saving problems in its log, so check that log if a file does not appear.

Save Image File Input Parameters:

image

The image to save. This is a required IMAGE input, with no default, minimum, or maximum specified. Connect the image you want written to disk. The implementation can convert a single image tensor to a saveable image; it does not provide a method for naming or saving each image in a multi-image batch separately. If no image reaches the node, it logs an error and does not save a file.

path

The folder where the image will be saved. This is a required STRING input with a default of ./ComfyUI/output/; no minimum or maximum is specified. A relative path such as this is interpreted from the process’s working directory, so its location may depend on how ComfyUI was launched. The node attempts to create the folder if it does not exist. Choose a location where the process has permission to create folders and write files.

filename_prefix

The beginning of the saved filename. This is a required STRING input with a default of ComfyUI; no minimum or maximum is specified. Use it to identify a project or series, such as PortraitStudy. When numbering is enabled, the node places the delimiter and number after this prefix. Use characters permitted in filenames on your operating system.

filename_delimiter

The text placed between the prefix and the number when numbering is enabled. This is a required STRING input with a default of _; no minimum or maximum is specified. For example, an underscore produces a name such as ComfyUI_0001.png with the default prefix, padding, and extension. Changing the delimiter also changes which existing filenames the node looks at when choosing its next number. It has no effect when number padding is set to 0.

filename_number_padding

The minimum width of the numerical suffix. This is a required INT input with a default of 4, a minimum of 0, a maximum of 9, and a step of 1. At 4, the first numbered filename uses 0001; as numbers grow beyond four digits, they are not cut off. The node looks for existing filenames matching the chosen prefix, delimiter, padding width, and extension, then starts after the highest number it finds. Set this to 0 to omit both the delimiter and number, producing a fixed filename that may overwrite an existing file of the same name.

file_extension

The suffix used for the saved file. This is an optional STRING input with a default of .png; no minimum, maximum, or fixed set of options is specified. Include the leading period, as in .png. The image-saving library uses the resulting filename to determine how to save the file, so an unsupported or unsuitable extension can cause saving to fail. The default is a practical choice when you do not need another format.

Save Image File Output Parameters:

No output parameters are declared. The node saves to disk as a side effect and has no output socket to connect to another node. Although the implementation returns a tuple internally, that does not declare an IMAGE output or provide a saved-file path through the node interface.

Save Image File Usage Tips:

  • Keep filename_number_padding at 4 for numbered files such as ComfyUI_0001.png. Use the same prefix, delimiter, padding, and extension across runs if you want numbering to continue from matching files already in the folder.
  • Set filename_number_padding to 0 only when you want one fixed filename, such as ComfyUI.png. A later run can replace that file.
  • Choose a writable path and check the actual folder location if you use the relative default. An absolute path can make the destination clearer when your setup allows it.
  • Start with the default .png extension. If you change formats, use an extension supported by the image-saving library and check the log to confirm the file was saved.
  • Supply a single image to this node. Its conversion code handles a three-dimensional image tensor or a batch dimension containing exactly one image; it does not separately save every image in a larger batch.

Save Image File Common Errors and Solutions:

The path {path} could not be created! Is there write access?

  • Explanation: The destination folder did not exist, and the node could not create it. The log includes the underlying operating-system error.
  • Solution: Check that the path is valid and that ComfyUI can write to its parent folder. Try an existing, writable folder.

No image specified to save! Image is None.

  • Explanation: No image reached the save operation, so no file was written.
  • Solution: Connect an image-producing node to image and check that the earlier part of the workflow produced an image.

Unsupported image type: {type}

  • Explanation: The value reaching the save operation is not one of the image representations handled by the implementation. No file is saved.
  • Solution: Connect a compatible IMAGE result rather than another data type. Check upstream nodes if the connection appears correct.

Unsupported tensor shape: {shape}

  • Explanation: The image tensor could not be converted because its shape is not a single three-dimensional image or a batch containing exactly one such image.
  • Solution: Supply one image at a time. If an earlier node produces a batch, select a single image before connecting it here.

Error converting tensor to image: {details}

  • Explanation: An exception occurred while converting image data into a saveable image. The log includes the specific error.
  • Solution: Check the upstream image for invalid data or an unexpected channel layout, then use the logged details to identify what needs correction.

Error converting image to a saveable format.

  • Explanation: Image conversion did not produce a file-ready image, so the save operation stopped.
  • Solution: Check nearby log messages for a more specific shape or conversion error, and provide a compatible single image.

Unable to save image file {file_path}: {details}

  • Explanation: An exception occurred during image conversion or file saving. Possible causes include a path that cannot be written to, an unsupported extension, or image data the saving library cannot handle. The log supplies the specific details.
  • Solution: Check the reported file path and error, confirm the folder is writable, and try the default .png extension with a compatible single image.

Save Image File Related Nodes

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