Nodes/ComfyUI-Aaalice-Nodes/💾 Conditional Save Image
ComfyUI Node

💾 Conditional Save Image

Save images only when enabled; otherwise pass them through unchanged. Uses LoraManager's save implementation when installed, otherwise the core PNG save.

By Aaalice233·Created about a month ago·Updated about 7 hours ago· 12
💾 Conditional Save Image
  • images
  • metadata
  • images
enabledtrue
filename_prefixComfyUI
file_formatpng
lossless_webpfalse
quality100
webp_method6
jpeg_subsampling0
embed_workflowfalse
save_with_metadatatrue
add_loras_to_prompttrue
add_counter_to_filenametrue
save_as_recipefalse
CategoryAaalice/tools

Inputs (14)

NameTypeDefaultDescription
imagesIMAGEImages to save (passed through unchanged).
enabledBOOLEANtrueWhen off, nothing is saved and the images are passed through unchanged.
filename_prefixSTRINGComfyUIBase filename. With LoraManager installed, patterns like %seed%/%date:...% are supported.
file_formatCOMBOpng3 options: png, jpeg, webp
lossless_webpBOOLEANfalse
qualityINT1001–100
webp_methodINT60–6
jpeg_subsamplingINT00–2
embed_workflowBOOLEANfalse
save_with_metadataBOOLEANtrue
add_loras_to_promptBOOLEANtrue
add_counter_to_filenameBOOLEANtrue
save_as_recipeBOOLEANfalse
metadataoptMETADATAOptional Metadata Overwrite (LoraManager) output; establishes execution order before saving.

Outputs (1)

NameTypeDescription
imagesIMAGEThe unchanged input images.