ComfyUI  >  Nodes  >  Save Image Extended for ComfyUI

ComfyUI Extension: Save Image Extended for ComfyUI

Repo Name

save-image-extended-comfyui

Author
audioscavenger (Account age: 4150 days)
Nodes
View all nodes (1)
Latest Updated
7/31/2024
Github Stars
0.0K

How to Install Save Image Extended for ComfyUI

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

Save Image Extended for ComfyUI Description

Save Image Extended for ComfyUI enhances the Save File node by allowing customization of subfolders and file names using checkpoint names or any desired sampler attribute. This forked version replaces the unmaintained original, requiring uninstallation of the old version before reinstalling.

Save Image Extended for ComfyUI Introduction

The save-image-extended-comfyui extension is a powerful tool designed to enhance your experience with ComfyUI by providing advanced options for saving your generated images. This extension allows you to save images in various formats such as JXL, AVIF, WebP, JPEG, JPEG2k, PNG, GIF, TIFF, and BMP. Additionally, it offers extensive customization options for organizing your images into folders and sub-folders, and for naming your files based on various parameters.

For AI artists, this means you can keep your work organized and easily accessible, with filenames and folder structures that reflect the details of your creative process. This can be particularly useful for tracking different versions of your work, comparing results from different models or settings, and sharing your work with others in a clear and structured way.

How Save Image Extended for ComfyUI Works

The extension works by integrating with ComfyUI to intercept the image-saving process. It allows you to define custom rules for how and where your images are saved. You can specify prefixes for filenames and folder names, include various parameters in the names, and even save additional metadata about each image in a JSON file.

Think of it as a highly customizable filing system for your images. Instead of manually renaming and organizing your files, you set up rules once, and the extension takes care of the rest. For example, you can automatically include the date, the model used, and specific settings in the filename, making it easy to identify each image at a glance.

Save Image Extended for ComfyUI Features

Customizable Filenames and Folder Names

  • Filename Prefix: Add a custom string at the beginning of each filename.
  • Filename Keys: Include parameters such as sampler name, scheduler, configuration, and more in the filename.
  • Foldername Prefix: Add a custom string at the beginning of each folder name.
  • Foldername Keys: Include parameters in the folder names, and create subfolders by using "./" in the key name.
  • Delimiter: Choose a character to separate different parts of the filename or folder name.

Metadata and Job Data

  • Save Job Data: Save information about each job (e.g., sampler, prompts, models) in a jobs.json file within each folder.
  • Job Data Per Image: Save individual job data files for each image.
  • Job Custom Text: Add custom text to the job data, which can be connected to other nodes.

Image Saving Options

  • Output Extension: Choose the file format for saving images (e.g., PNG, WebP).
  • Quality: Set the quality level for formats like JPEG, JXL, WebP, AVIF, and J2K.
  • Save Metadata: Embed metadata into the image file.
  • Image Preview: Enable or disable image previews.

Counter and Date/Time

  • Counter Digits: Set the number of digits for the image counter (e.g., image_001.png).
  • Counter Position: Choose whether the counter appears at the beginning or end of the filename.
  • One Counter Per Folder: Decide if the counter should reset when parameters change or if it should be unique per folder.
  • Automatic Date/Time Conversion: Use Unix datetime formats in filenames and folder names.

Save Image Extended for ComfyUI Models

This section is not applicable as the extension does not include different models.

What's New with Save Image Extended for ComfyUI

Recent Updates

  • Release 2.76: Reintroduced resolution parameter.
  • Release 2.75: Added the option to prefix each value by its key name.
  • Release 2.74: Updated help popup and made minor cosmetic fixes.
  • Release 2.73: Added support for ckpt_path and control_net_path for subfolders.
  • Release 2.70: Added support for JPEG-XL and JPEG2000 formats.
  • Release 2.65: Published in the ComfyUI registry.
  • Release 2.64: Added a help button based on KJNodes.
  • Release 2.63: Fixed issues with saving negative prompts and job data. These updates bring new features and improvements that enhance the functionality and user experience of the extension, making it more versatile and user-friendly for AI artists.

Troubleshooting Save Image Extended for ComfyUI

Common Issues and Solutions

  • Unknown Key Names: If you enter an unknown key name in filename_keys or foldername_keys, it will be treated as a custom string. Ensure you use valid parameter names.
  • Illegal Characters: The extension does not check for illegal characters in file or folder names. Avoid using characters that are not supported by your file system.
  • Compatibility: The extension may not be compatible with all custom nodes, depending on changes in the prompt object. It has been tested with default samplers, Efficiency nodes, UltimateSDUpscale, and others.

Frequently Asked Questions

  • How do I include the date in filenames? Use Unix datetime formats like %Y-%m-%d in your filename_keys or foldername_keys.
  • Can I save images in multiple formats? Currently, you can choose one format at a time for saving images. You can change the format in the settings.
  • Why is my counter not resetting? Check the one_counter_per_folder setting to ensure it is configured as you need.

Learn More about Save Image Extended for ComfyUI

For additional resources, tutorials, and community support, you can visit the following links:

  • Unix Datetime Formats (https://www.man7.org/linux/man-pages/man1/date.1.html)
  • ExifTool (https://exiftool.org/) These resources will help you get the most out of the save-image-extended-comfyui extension and connect with other AI artists who are using the same tools. Happy saving!

Save Image Extended for ComfyUI Related Nodes

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.