ComfyUI > Nodes > Various ComfyUI Nodes by Type > Batch Save Image Sequence

ComfyUI Node: Batch Save Image Sequence

Class Name

JWSaveImageSequence

Category
jamesWalker55
Author
jamesWalker55 (Account age: 2581days)
Extension
Various ComfyUI Nodes by Type
Latest Updated
2024-07-27
Github Stars
0.04K

How to Install Various ComfyUI Nodes by Type

Install this extension via the ComfyUI Manager by searching for Various ComfyUI Nodes by Type
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Various ComfyUI Nodes by Type 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Batch Save Image Sequence Description

Automate batch saving of image sequences with customizable file paths and handling options for AI artists.

Batch Save Image Sequence:

The JWSaveImageSequence node is designed to facilitate the batch saving of image sequences to specified file paths. This node is particularly useful for AI artists who need to save multiple images generated during a creative process efficiently. By automating the saving process, it ensures that each image in the sequence is stored correctly and can be easily retrieved later. The node supports customizable file path patterns and offers options to handle existing files, making it a versatile tool for managing large sets of images.

Batch Save Image Sequence Input Parameters:

images

This parameter expects a tensor of images that you want to save. Each image in the tensor will be processed and saved according to the specified path pattern. The images should be in a format compatible with the saving function used by the node.

path_pattern

This string parameter defines the pattern for the file paths where the images will be saved. You can use placeholders like {} or {i} to dynamically insert the image index into the file name. This allows for organized and sequential naming of the saved images.

start_index

This integer parameter specifies the starting index for naming the saved images. The index will increment for each subsequent image in the sequence. The default value is 0, and it should be a non-negative integer.

overwrite

This parameter is a string that determines whether existing files should be overwritten. It accepts two values: "true" and "false". If set to "true", any existing files with the same name will be overwritten. If set to "false", the node will generate a non-conflicting path to avoid overwriting existing files.

prompt

This optional parameter allows you to include a prompt or description that will be saved with each image. This can be useful for keeping track of the context or settings used to generate the images.

extra_pnginfo

This optional parameter allows you to include additional metadata in the PNG files. This can be useful for storing extra information about the images, such as generation parameters or other relevant data.

Batch Save Image Sequence Output Parameters:

This node does not produce any output parameters. Its primary function is to save the provided images to the specified file paths.

Batch Save Image Sequence Usage Tips:

  • Ensure that the path_pattern includes placeholders for the image index to avoid overwriting files unintentionally.
  • Use the overwrite parameter wisely to prevent accidental loss of existing files. Set it to "false" if you want to keep existing files intact.
  • Utilize the prompt and extra_pnginfo parameters to store additional information with your images, which can be helpful for future reference or reproduction of results.

Batch Save Image Sequence Common Errors and Solutions:

Batch Save Image Sequence: Image already exists: <path>

  • Explanation: This error occurs when an image with the same name already exists at the specified path and the overwrite parameter is set to "false".
  • Solution: Either set the overwrite parameter to "true" to allow overwriting of existing files or ensure that the path_pattern generates unique file names for each image.

failed to get image from clipboard

  • Explanation: This error is not directly related to JWSaveImageSequence but indicates a failure in retrieving an image from the clipboard, possibly due to an empty clipboard or unsupported format.
  • Solution: Ensure that the clipboard contains a valid image in the supported format before attempting to use nodes that rely on clipboard data.

Batch Save Image Sequence Related Nodes

Go back to the extension to check out more related nodes.
Various ComfyUI Nodes by Type
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.