💾 Save Image Advanced [meti]
Save Your Images Somewhere Other Than output/, Finally
- images
- image
- filename
- full_path
ComfyUI's built-in Save Image is fine until it isn't. Everything lands in ComfyUI/output/ with an auto-incrementing name, and after a hundred generations that folder is a wall of ComfyUI_00001_.png. MetiUniqueSaveImageAdvanced (💾 Save Image Advanced) gives you three things the stock node won't: a custom save directory, dynamic filename tokens, and a Preview mode that shows the result without writing a file at all. It also hands you the filename and full path as string outputs you can feed anywhere.
It's the third node in ComfyUI-Useful-Meti, the small pack by Mahdi Sharifi (Metixxx) - and the one that's a genuine daily-driver replacement for Save Image.
How it works
Under the hood it's a standard save node with extras. It embeds the same PNG metadata ComfyUI's own SaveImage writes (the workflow and prompt chunks), so your files keep round-tripping back onto the canvas when you drag them in - PNG is the only format that carries the graph, per the KB's image-io-metadata doc. On Save mode it writes the file, and it's collision-aware: it scans the destination folder, finds the highest existing number for your prefix, and continues from there - base.png, base_002.png, base_003.png.
The filename_prefix field is a mini template language: %date%, %time%, %datetime%, %year%, %month%, %day%. So image_%date%_%time% becomes image_2026-05-19_14-30-45.png, and illegal filename characters get replaced with underscores. Preview mode skips the disk entirely - it renders to ComfyUI's temp folder, shows the preview, and reports the temp path. The node is an output node, so it always runs and the engine's cache works backward from it - standard save-node behavior.
Inputs and outputs
images- the image batch to save.filename_prefix- the prefix with the%date%/%time%style tokens. Leave empty for the "ComfyUI" default.custom_path- the save directory. Empty meansComfyUI/output/. It's a real path on the machine running ComfyUI, so use an absolute path likeC:/my_images/(the tooltip's example) or/home/you/gens- relative paths resolve against wherever ComfyUI was started.mode- Save or Preview.image- passthrough of the input.filename- the actual saved name (or temp name in Preview mode).full_path- the absolute path of what was written (or the temp path in Preview mode).
The string outputs are the sleeper feature: because filename and full_path come out as strings, you can wire them into a text display, a note, a caption builder, or anything else that eats strings. Batch workflows and automation love that.
Installing
Same pack, same drill: ComfyUI Manager, search "Useful-Meti", install, restart; or:
cd ComfyUI/custom_nodes
git clone https://github.com/metixxx/ComfyUI-Useful-Meti.git
Then restart. No dependencies beyond what ComfyUI already ships - no requirements.txt in the repo, and the README confirms it runs on the stock environment.
Gotchas
The one that bites: this node saves only the first image of a batch. Feed it a batch of four and you get one PNG. The image passthrough still carries all four downstream, so your graph keeps working - but only frame zero hits disk. If you're saving whole batches, you want a batch-aware save node, not this one.
Preview mode reports the temp path, and temp gets cleared on restart. So "where did my file go" in Preview mode has a boring answer: it was never written. That's the feature, not a bug.
A couple of genuinely good details: the counter cache re-scans the folder when it first runs, so you don't get name collisions across restarts - something a lot of save nodes get wrong. And custom_path directories get created automatically.
One honest caveat for CivitAI posters: this node writes the ComfyUI-style workflow chunk, not the flat A1111-style parameters block that triggers CivitAI's model auto-linking. If that auto-linking matters to you, a dedicated metadata-saver node is the better fit. Different job. The verdict: if output/ is a junk drawer and your filenames say nothing, this is a solid, dependency-free upgrade.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | Input image(s) to save. Accepts any image batch. | |
| filename_prefix | STRING | ComfyUI | Available variables: • %date% - Full date (2026-05-19) • %time% - Full time (14-30-45) • %datetime% - Date+Time (20260519_143045) • %year%, %month%, %day% - Date parts Example: 'image_%date%_%time%' → 'image_2026-05-19_14-30-45.png' Leave empty to use default 'ComfyUI' |
| custom_path | STRING | Custom save directory. Leave empty to use ComfyUI/output/ Example: C:/my_images/ | |
| mode | COMBO | Save | Save: Writes to disk and shows preview. Preview: Shows preview only (nothing saved to disk). |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| filename | STRING | — |
| full_path | STRING | — |