ComfyUI > Nodes > ComfyUI > Save Image Dataset to Folder

ComfyUI Node: Save Image Dataset to Folder

Class Name

SaveImageDataSetToFolder

Category
dataset
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

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

Facilitates organizing and saving image datasets to specified output folder for efficient management and retrieval.

Save Image Dataset to Folder:

The SaveImageDataSetToFolder node is designed to facilitate the organization and storage of image datasets by saving a list of images to a specified folder within your output directory. This node is particularly useful for AI artists who need to manage large collections of images efficiently. By allowing you to specify a folder name and filename prefix, it provides a structured way to save images, making it easier to retrieve and use them later. The node is experimental and serves as an output node, meaning it is typically used at the end of a workflow to store the results of image processing tasks. Its primary goal is to streamline the process of saving multiple images, ensuring they are neatly organized and easily accessible for future use.

Save Image Dataset to Folder Input Parameters:

images

This parameter expects a list of images that you wish to save. The node processes this list and saves each image to the specified folder. The images should be in a format compatible with the node's saving mechanism, typically standard image formats like PNG or JPEG.

folder_name

This parameter allows you to specify the name of the folder where the images will be saved. By default, the folder is named "dataset," but you can customize it to suit your organizational needs. The folder will be created inside the output directory, providing a dedicated space for your saved images.

filename_prefix

This optional parameter lets you define a prefix for the filenames of the saved images. The default prefix is "image," but you can change it to something more descriptive or relevant to your project. This prefix helps in identifying and categorizing images, especially when dealing with large datasets.

Save Image Dataset to Folder Output Parameters:

This node does not produce any direct output parameters. Its primary function is to save images to a specified location, and it does not return any data to be used by subsequent nodes in a workflow.

Save Image Dataset to Folder Usage Tips:

  • Ensure that the list of images you provide is in a supported format to avoid any issues during the saving process.
  • Use descriptive folder names and filename prefixes to make it easier to locate and identify your images later.
  • Consider organizing your output directory structure in advance to maintain a clean and efficient workflow.

Save Image Dataset to Folder Common Errors and Solutions:

Error: "Permission denied"

  • Explanation: This error occurs when the node does not have the necessary permissions to write to the specified output directory.
  • Solution: Check the permissions of your output directory and ensure that the application has write access. You may need to adjust the directory permissions or run the application with elevated privileges.

Error: "Invalid image format"

  • Explanation: This error indicates that one or more images in the list are not in a supported format.
  • Solution: Verify that all images are in a standard format such as PNG or JPEG. Convert any unsupported images to a compatible format before attempting to save them with the node.

Save Image Dataset to Folder Related Nodes

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