ComfyUI  >  Nodes  >  ComfyUI Image Saver

ComfyUI Extension: ComfyUI Image Saver

Repo Name

ComfyUI-Image-Saver

Author
alexopus (Account age: 2709 days)
Nodes
View all nodes (14)
Latest Updated
8/16/2024
Github Stars
0.0K

How to Install ComfyUI Image Saver

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

ComfyUI Image Saver Description

ComfyUI Image Saver enables saving images with generation metadata compatible with Civitai, supporting png, jpeg, and webp formats. It also stores LoRAs, models, and embeddings hashes for resource recognition.

ComfyUI Image Saver Introduction

ComfyUI-Image-Saver is an extension designed to help AI artists save images along with their generation metadata. This metadata includes important information about how the image was created, such as the model used, parameters, and other settings. The extension is compatible with popular platforms like Civitai and Prompthero, which can automatically detect and display this metadata. It supports saving images in PNG, JPEG, and WEBP formats. For PNG files, it stores both the full workflow in ComfyUI format and A1111-style parameters, while for JPEG and WEBP, only the A1111-style parameters are stored. This extension also includes hashes of models, LoRAs, and embeddings to ensure proper resource linking on Civitai.

How ComfyUI Image Saver Works

ComfyUI-Image-Saver works by embedding metadata directly into the image files you save. This metadata includes detailed information about the image generation process, such as the model used, the parameters set, and any additional resources like LoRAs or embeddings. When you save an image, the extension automatically captures this information and stores it within the image file. This makes it easy to share your images with others while ensuring that all the necessary information to reproduce the image is included.

For example, if you create an image using a specific model and set of parameters, ComfyUI-Image-Saver will save this information within the image file. When someone else views the image on a platform like Civitai, they can see exactly how the image was generated, making it easier to replicate or build upon your work.

ComfyUI Image Saver Features

Metadata Embedding

  • PNG Files: Stores both the full workflow in ComfyUI format and A1111-style parameters.
  • JPEG/WEBP Files: Stores only the A1111-style parameters.
  • Model, LoRA, and Embedding Hashes: Ensures proper resource linking on platforms like Civitai.

Customizable File and Folder Names

You can customize the names of your saved files and folders using placeholders. This allows you to create a naming convention that suits your workflow. Here are some placeholders you can use:

  • %date
  • %time (format taken from time_format)
  • %model (full name of the model file)
  • %basemodelname (name of the model without file extension)
  • %seed
  • %counter
  • %sampler_name
  • %scheduler
  • %steps
  • %cfg
  • %denoise Example: | filename value | Result file name | | --- | --- | | %time-%basemodelname-%cfg-%steps-%sampler_name-%scheduler-%seed | 2023-11-16-131331-Anything-v4.5-pruned-mergedVae-7.0-25-dpm_2-normal-1_01.png |

LoRA Integration

You can add LoRAs to the prompt in the <lora:name:weight> format. This will be translated into hashes and stored together with the metadata. For this, it is recommended to use ImpactWildcardEncode from the . This tool allows you to convert the LoRAs directly to proper conditioning without having to manually manage the LoRA strings.

Troubleshooting ComfyUI Image Saver

Common Issues and Solutions

  1. Metadata Not Showing Up:
  • Ensure that you are using the correct file format (PNG, JPEG, or WEBP).
  • Verify that the extension is properly installed and enabled in ComfyUI.
  1. Incorrect File Naming:
  • Double-check the placeholders used in your file naming convention.
  • Ensure that the time_format is correctly set if using the %time placeholder.
  1. LoRA Hashes Not Detected:
  • Make sure you are using the <lora:name:weight> format correctly.
  • Use ImpactWildcardEncode from the ComfyUI-Impact-Pack for better integration.

Frequently Asked Questions

  • Q: Can I use this extension with other image formats?
  • A: Currently, ComfyUI-Image-Saver supports PNG, JPEG, and WEBP formats.
  • Q: How do I customize the file naming convention?
  • A: Use the provided placeholders to create a naming pattern that fits your needs. Refer to the customization section for examples.
  • Q: What platforms are compatible with the metadata?
  • A: The metadata is compatible with platforms like Civitai and Prompthero, which can automatically detect and display the information.

Learn More about ComfyUI Image Saver

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

  • : A custom node pack for enhancing images with various tools.
  • : Detailed tutorials and workflows to help you get the most out of the ComfyUI-Impact-Pack.
  • : A video guide on using ComfyUI-Image-Saver and related tools. By leveraging these resources, you can enhance your understanding and usage of ComfyUI-Image-Saver, making your AI art creation process more efficient and effective.

ComfyUI Image Saver 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.