Nodes/AAA Metadata System/Save Image with Metadata (Simple)
ComfyUI Node

Save Image with Metadata (Simple)

A ComfyUI node in Eric's Nodes/Output with 36 inputs and 2 outputs.

By EricRollei·Created 9 months ago·Updated 8 months ago· 12
Save Image with Metadata (Simple)
  • images
  • images
  • filepath
filename_prefixComfyUI
file_formatpng
include_projectfalse
include_datetimetrue
custom_output_directory
output_path_modeSubfolder in Output
filename_formatDefault (padded zeros)
quality_presetBest Quality
color_profilesRGB v4 Appearance
rendering_intentRelative Colorimetric
bit_depth8-bit
alpha_modeauto
matte_color#FFFFFF
save_alpha_separatelyfalse
apng_fps10
apng_loops0
enable_metadatatrue
title
project
description
creator
copyright
keywords
custom_metadata{}
auto_extract_generation_paramstrue
include_node_detailsfalse
save_embeddedtrue
save_workflow_as_jsonfalse
save_xmptrue
save_txttrue
save_dbfalse
save_individual_discoveryfalse
debug_loggingfalse
embed_workflowtrue
a1111_compat_modefalse
CategoryEric's Nodes/Output

Inputs (36)

NameTypeDefaultDescription
imagesIMAGEImages to save.
filename_prefixSTRINGComfyUIBase name for saved files. Supports tokens like %date:yyyy-MM-dd%.
file_formatCOMBOpngPrimary image format.
include_projectoptBOOLEANfalseAppend project name to filename.
include_datetimeoptBOOLEANtrueAppend timestamp to filename.
custom_output_directoryoptSTRINGOverride output folder. Relative paths stay under ComfyUI/output.
output_path_modeoptCOMBOSubfolder in OutputTreat custom directory as absolute or relative to the output folder.
filename_formatoptCOMBODefault (padded zeros)Choose sequential filename style.
quality_presetoptCOMBOBest QualityAdjust compression vs. quality for supported formats.
color_profileoptCOMBOsRGB v4 AppearanceEmbedded ICC profile.
rendering_intentoptCOMBORelative ColorimetricRendering intent used for color conversions.
bit_depthoptCOMBO8-bit16-bit currently applies to PNG only.
alpha_modeoptCOMBOautoHow to treat alpha when the format lacks transparency.
matte_coloroptSTRING#FFFFFFBackground colour for matte mode (name or #RRGGBB).
save_alpha_separatelyoptBOOLEANfalseWrite a separate alpha image for formats without transparency support.
apng_fpsoptINT101–60Frames per second for APNG output.
apng_loopsoptINT00–99999Loop count for APNG (0 means infinite).
enable_metadataoptBOOLEANtrueMaster switch for writing structured metadata.
titleoptSTRINGImage title.
projectoptSTRINGProject or collection name.
descriptionoptSTRINGImage description or caption.
creatoroptSTRINGCreator/artist name.
copyrightoptSTRINGCopyright / rights notice.
keywordsoptSTRINGComma-separated keyword list.
custom_metadataoptSTRING{}Custom metadata JSON merged into the output structure.
auto_extract_generation_paramsoptBOOLEANtruePull prompts, sampler settings, etc. from the workflow automatically.
include_node_detailsoptBOOLEANfalseInclude node IDs and wiring details for debugging.
save_embeddedoptBOOLEANtrueWrite structured metadata directly into the image when possible.
save_workflow_as_jsonoptBOOLEANfalseExport the workflow alongside the image as JSON.
save_xmpoptBOOLEANtrueCreate an XMP sidecar file.
save_txtoptBOOLEANtrueCreate a human-readable text summary.
save_dboptBOOLEANfalseSend metadata to the configured database handler, if any.
save_individual_discoveryoptBOOLEANfalsePersist per-run workflow discovery reports in addition to the central log.
debug_loggingoptBOOLEANfalseVerbose console logging for troubleshooting.
embed_workflowoptBOOLEANtrueEmbed ComfyUI workflow data in PNG files for easy reloading.
a1111_compat_modeoptBOOLEANfalseEmbed Automatic1111-compatible parameter strings in PNG text and JPEG comments.

Outputs (2)

NameTypeDescription
imagesIMAGE
filepathSTRING