floyo logobeta logo
Powered by
ThinkDiffusion
floyo logobeta logo
Powered by
ThinkDiffusion

ComfyUI Image Saver

103

Last updated
2025-07-04

Allows users to save images along with their generation metadata in ComfyUI, ensuring compatibility with Civitai's auto-detection system. This tool supports various image formats, including PNG, JPG, and WEBP, while storing essential model and resource information.

  • Enables the storage of detailed generation metadata, facilitating seamless integration with Civitai.
  • Supports LoRAs in prompts, automatically translating them into hashes for proper resource linking.
  • Provides customizable file naming options using placeholders for easy organization.

Context

This tool is an extension for ComfyUI that enhances the image saving process by including generation metadata, which is essential for users who wish to maintain compatibility with Civitai. It addresses the need for structured data storage associated with generated images, allowing for better tracking and resource management.

Key Features & Benefits

The primary feature of this tool is its ability to save images along with comprehensive generation metadata. For PNG files, it captures the entire workflow in ComfyUI format and includes parameters in the a1111-style format. For JPEG and WEBP formats, it only stores the a1111-style parameters, ensuring that users can easily reference and manage their resources.

Advanced Functionalities

One of the advanced features is the integration of LoRAs (Latent Representations) directly into prompts using a specific format. This allows for automatic conversion into hashes, which are then stored alongside the metadata, simplifying the process of managing complex prompt configurations. Utilizing the ImpactWildcardEncode from the ComfyUI-Impact-Pack further streamlines this process, ensuring efficient conditioning without manual string management.

Practical Benefits

This tool significantly improves workflow efficiency by automating the metadata storage process, which is crucial for users who need to keep track of various models and resources. It enhances control over generated content by allowing users to customize file naming conventions, making organization simpler and more intuitive. Overall, it elevates the quality of resource management in ComfyUI.

Credits/Acknowledgments

This repository is a fork of the original project by giriss, which has been inactive for some time. The tool is maintained by alexopus, and users are encouraged to acknowledge these contributions while utilizing the tool under its respective license.