Nodes/ComfyUI-TinyBee/Save Image w/Meta
ComfyUI Node

Save Image w/Meta

The SaveImage that remembers your custom data

By TinyBeeman·Created about a year ago·Updated about a month ago· 1
Save Image w/Meta
  • images
  • metadata_props
  • image
prefixComfyUI
prefix_delimiter_
prefix_2
output_folder
save_workspacetrue
enabledtrue

ComfyUI already bakes the full workflow into every PNG it saves - that's the whole "drag the image back in" trick the community lives on. But standard SaveImage doesn't let you attach your own structured data. Save Image w/Meta is the pack's answer: it saves your image exactly like the built-in node, and on top of the normal prompt/workspace metadata it embeds a set of custom key-value properties into the PNG.

The pairing that makes this genuinely useful is with the pack's Load Image w/Meta counterpart: save with a bundle of metadata, then read it back later as structured values instead of parsing the workflow JSON by hand. Think of it as tagging your outputs - "this render used seed X and batch Y" - in a way that survives the trip through disk and comes back as real data, not text to grep.

How it works

Under the hood it's the standard save-image machinery (folder_paths.get_save_image_path) plus PNG text chunks. It writes the usual prompt chunk when metadata isn't disabled, and with save_workspace on it embeds the full extra_pnginfo (the workflow graph) like the default node. On top of that, if you pass a metadata_props bundle (the pack's TINYPROPS type), it serializes those into a tinyprops PNG text chunk. Nothing is encrypted or exotic - it's standard PNG metadata, readable by the matching load node.

The inputs that matter:

  • images (IMAGE) - what to save.
  • prefix (default ComfyUI) and prefix_delimiter (default _) - the base filename.
  • prefix_2 (STRING) - an extra suffix appended after the delimiter; wire in a Timestamp string here for unique names.
  • output_folder (STRING) - a subfolder under output; leave blank for the root.
  • save_workspace (BOOLEAN, default on) - whether to embed the full workflow. Turn off for leaner files.
  • metadata_props (TINYPROPS, optional) - your custom key-value bundle from the pack's property nodes.

The output image passes the batch through unchanged, so you can keep saving and processing in one chain.

Installing it

Save Image w/Meta comes from ComfyUI-TinyBee, a small MIT-licensed utility pack with no model downloads. Via Manager:

  1. ComfyUI Manager → Custom Nodes Manager.
  2. Search "ComfyUI-TinyBee" and install.
  3. Restart ComfyUI.

Or clone:

cd ComfyUI/custom_nodes
git clone https://github.com/TinyBeeman/ComfyUI-TinyBee

Restart and it's under 🐝TinyBee/Images. Its only non-standard dependency, jsonata, is for the pack's JSON Parser node; saving images needs only what ComfyUI ships.

Gotchas

The metadata_props input is strictly the pack's own TINYPROPS format - you can't just drop arbitrary JSON in there. Build the bundle with the pack's property nodes first, or you'll get nothing embedded. And remember save_workspace is what preserves the drag-back-into-ComfyUI behavior: with it off, your custom data still saves but the full workflow graph doesn't. Turn it off only when you're intentionally trimming file size.

Category🐝TinyBee/Images

Inputs (8)

NameTypeDefaultDescription
imagesIMAGE
prefixSTRINGComfyUI
prefix_delimiterSTRING_
prefix_2STRING
output_folderSTRING
save_workspaceBOOLEANtrue
enabledBOOLEANtrue
metadata_propsoptTINYPROPS

Outputs (1)

NameTypeDescription
imageIMAGE