ComfyUI Node
Citron Image Saver
Save images with generation metadata
Citron Image Saver
- images
- hashes
- a1111_params
◄filename%time_%basemodelname_%seed►
◄path►
◄extension▾►
◄steps20►
◄cfg7.00►
◄modelname►
◄sampler_name►
◄scheduler_namenormal►
◄positiveunknown►
◄negativeunknown►
◄seed_value0►
◄width512►
◄height512►
◄lossless_webptrue►
◄quality_jpeg_or_webp100►
◄optimize_pngfalse►
◄counter0►
◄denoise1.00►
◄clip_skip0►
◄time_format%Y-%m-%d-%H%M%S►
◄save_workflow_as_jsonfalse►
◄embed_workflowtrue►
◄additional_hashes►
◄show_previewtrue►
◄custom►
CategoryCitron_ImageSaver
Inputs (26)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | image(s) to save | |
| filename | STRING | %time_%basemodelname_%seed | filename (available variables: %date, %time, %model, %width, %height, %seed, %counter, %sampler_name, %steps, %cfg, %scheduler_name, %basemodelname, %denoise, %clip_skip) |
| path | STRING | path to save the images (under Comfy's save directory) | |
| extension | COMBO | file extension/type to save image as | |
| stepsopt | INT | 201–10000 | number of steps |
| cfgopt | FLOAT | 7.000–100 | CFG value |
| modelnameopt | STRING | model name (can be multiple, separated by commas) | |
| sampler_nameopt | STRING | sampler name (as string) | |
| scheduler_nameopt | STRING | normal | scheduler name (as string) |
| positiveopt | STRING | unknown | positive prompt |
| negativeopt | STRING | unknown | negative prompt |
| seed_valueopt | INT | 00–18446744073709550000 | seed |
| widthopt | INT | 5120–16384 | image width |
| heightopt | INT | 5120–16384 | image height |
| lossless_webpopt | BOOLEAN | true | if True, saved WEBP files will be lossless |
| quality_jpeg_or_webpopt | INT | 1001–100 | quality setting of JPEG/WEBP |
| optimize_pngopt | BOOLEAN | false | if True, saved PNG files will be optimized (can reduce file size but is slower) |
| counteropt | INT | 00–18446744073709550000 | counter |
| denoiseopt | FLOAT | 1.000–1 | denoise value |
| clip_skipopt | INT | 0-24–24 | skip last CLIP layers (positive or negative value, 0 for no skip) |
| time_formatopt | STRING | %Y-%m-%d-%H%M%S | timestamp format |
| save_workflow_as_jsonopt | BOOLEAN | false | if True, also saves the workflow as a separate JSON file |
| embed_workflowopt | BOOLEAN | true | if True, embeds the workflow in the saved image files. Stable for PNG, experimental for WEBP. JPEG experimental and only if metadata size is below 65535 bytes |
| additional_hashesopt | STRING | hashes separated by commas, optionally with names. 'Name:HASH' (e.g., 'MyLoRA:FF735FF83F98') | |
| show_previewopt | BOOLEAN | true | if True, displays saved images in the UI preview |
| customopt | STRING | custom string to add to the metadata, inserted into the a111 string between clip skip and model hash |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| hashes | STRING | Comma-separated list of the hashes to chain with other Image Saver additional_hashes |
| a1111_params | STRING | Written parameters to the image metadata |