Nodes/ComfyUI-CitronNodes/Citron Image Saver Simple
ComfyUI Node

Citron Image Saver Simple

Save images with generation metadata

By citronlegacy·Created about a year ago·Updated a day ago· 0
Citron Image Saver Simple
  • images
  • metadata
  • hashes
  • a1111_params
◄filename%time_%basemodelname_%seed►
◄path►
◄extension▾►
◄lossless_webptrue►
◄quality_jpeg_or_webp100►
◄optimize_pngfalse►
◄embed_workflowtrue►
◄save_workflow_as_jsonfalse►
◄counter0►
◄time_format%Y-%m-%d-%H%M%S►
◄show_previewtrue►
CategoryCitron_ImageSaver

Inputs (13)

NameTypeDefaultDescription
imagesIMAGEimage(s) to save
filenameSTRING%time_%basemodelname_%seedfilename (available variables: %date, %time, %model, %width, %height, %seed, %counter, %sampler_name, %steps, %cfg, %scheduler_name, %basemodelname, %denoise, %clip_skip)
pathSTRINGpath to save the images (under Comfy's save directory)
extensionCOMBOfile extension/type to save image as
lossless_webpBOOLEANtrueif True, saved WEBP files will be lossless
quality_jpeg_or_webpINT1001–100quality setting of JPEG/WEBP
optimize_pngBOOLEANfalseif True, saved PNG files will be optimized (can reduce file size but is slower)
embed_workflowBOOLEANtrueif 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
save_workflow_as_jsonBOOLEANfalseif True, also saves the workflow as a separate JSON file
metadataoptMETADATAmetadata to embed in the image
counteroptINT00–18446744073709550000counter
time_formatoptSTRING%Y-%m-%d-%H%M%Stimestamp format
show_previewoptBOOLEANtrueif True, displays saved images in the UI preview

Outputs (2)

NameTypeDescription
hashesSTRINGComma-separated list of the hashes to chain with other Image Saver additional_hashes
a1111_paramsSTRINGWritten parameters to the image metadata