Node packVerifiedExternal
save-image-extended-comfyui
Save as AVIF, WebP, JPEG, customize the folder, sub-folders, and filenames of your images!
Maintainer@audioscavengerBgrade
Package profile
- Status
- Verified
- Publisher
- @audioscavenger
- Source
- GitHub
- Stars
- 154
README
💾 Save Image Extended for ComfyUI
Save as JXL, AVIF, WebP, JPEG, JPEG2k, customize the folder, sub-folders, and filenames of your images!
Supports those extensions: JXL AVIF WebP jpg jpeg j2k jp2 png gif tiff bmp
- Customize the folder, sub-folders, and filenames of your images!
- Save data about the generated job (sampler, prompts, models) as entries in a
json(text) file, in each folder. - Use the values of ANY node's widget, by simply adding its badge number in the form id.widget_name
- Warning: ComfyUI can only load prompts from PNG and WebP atm
Parameters / Reserved Keywords
| Attribute | Description |
|---|---|
filename_prefix | Static string prefixed to file name. |
filename_keys | Comma separated string with sampler parameters to add to filename. E.g: sampler_name, scheduler, cfg, denoise Added to filename in written order. vae_name model_name (upscale model), ckpt_name (checkpoint) are others that should work. Here you can try any parameter name of any node. As long as the parameter has the same variable name defined in the prompt object, they should work. The same applies to foldername_keys. |
foldername_prefix | Fixed string prefixed to subfolders. |
foldername_keys | Same rules as for filename_keys. Create subfolders by using / or ../ etc. |
delimiter | now a free field Delimiter = any string you like. You can also use / to create subfolders. |
save_job_data | Saves information about each job as entries in a jobs.json text file, inside the generated subfolder. Multiple options for its content: prompt, basic data, sampler settings, loaded models. |
job_data_per_image | Saves individual job data file per image. |
job_custom_text | Custom string to save along with the job data. |
save_metadata | Saves metadata into the image. |
counter_digits | Number of digits used for the image counter. 3 = image_001.png, based on highest number in the subfolder, ignores gaps. Can be disabled when == 0. |
counter_position | Image counter postition: image_001.png or 001_image.png. |
one_counter_per_folder | Toggles one counter per subfolder, or resets when a parameter/prompt changes. |
image_preview | Turns the image preview on and off. |
output_ext | File extension: WEBP by default, AVIF, PNG, JXL, JPG, etc. |
quality | Quality for JPEG/JXL/WebP/AVIF/J2K formats; Quality is relative to each format. Example: AVIF 60 is same quality as WebP 90. PNG compression is fixed at 4 and not affected by this. PNG compression times skyrocket above level 4 for zero benefits on filesize. |
resolution | Saved image reolution in format 000x000 (pixels). |
named_keys | Prefix each value by its key name. Example: prefix-seed=123456-width=1024-cfg=5.0-0001.avif |
- ANY other keyword that exist as a field name in a widget will be resolved.
- That is why I do not list all common keywords like
ckpt_nameetc, as they are virtually infinite and exist only within your workflow.
- That is why I do not list all common keywords like
- Unknown key names not found in any widget's fields are treated as fixed strings
- if you enter
wrongNumber.attribute, you will also getattributeas a fixed string.
- if you enter
- Datetime UNIX format is now included!
%Y-%m-%dor%Fetc: see unix datetime formats - default it output only the name for
ckpt_name/control_net_name/lora_namenot the path- use
ckpt_path/control_net_path/lora_pathto get the same subfolders as your models
- use
- using
.custom_stringwill prevent appending delimiter, the dot will be the delimiter
FAQ
- How do I format the date/timestamps?
Nodes in this pack
1 node
Nodes in this pack
1 node- SaveImageExtended
Related resources
5 connections
Related resources
5 connectionsSources
3 sources
Sources
3 sourcesComfy registrySource
raw.githubusercontent.com/Comfy-Org/ComfyUI-Manager/main/extension-node-map.jsonVerified Sep 12
GitHubSourceVersion d49387f000b2febcfa9e27a5235b5d3fdde1e335
github.com/audioscavenger/save-image-extended-comfyuiVerified Sep 12
Source excerpts
1 excerpt
Source excerpts
1 excerptSource context: Repo audioscavenger/save-image-extended-comfyui
