cc1bfb6cd845f3976b14964e5f168f2fc0db6520
[!] Forked from https://github.com/giriss/comfy-image-saver, which seems to be inactive since a while.
Save image with generation metadata in ComfyUI
Allows you to save images with their generation metadata. Includes the metadata compatible with Civitai & Prompthero geninfo auto-detection. Works with PNG, JPG and WEBP. For PNG stores both the full workflow in comfy format, plus a1111-style parameters. For JPEG/WEBP only the a1111-style parameters are stored.
You can find the example workflow file named example-workflow.json.
How to install?
Method 1: Easiest (Recommended)
If you have ComfyUI-Manager, you can simply search "ComfyUI Image Saver" and install these custom nodes.
Method 2: Easy
If you don't have ComfyUI-Manager, then:
- Using CLI, go to the ComfyUI folder
cd custom_nodesgit clone git@github.com:giriss/comfy-image-saver.gitcd comfy-image-saverpip install -r requirements.txt- Start/restart ComfyUI
Autodetection in action
Customization of file/folder names
You can use following placeholders:
%date%seed%counter%sampler_name%steps%cfg%scheduler%denoise%time– format taken fromtime_format%model– full name of model file%basemodelname– name of model (without file extension)
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 |
Languages
Python
97.5%
JavaScript
2.5%