Save Image Extended FolderPath
Save PNGs into your own project folders, with counters and metadata intact
- images
Stock ComfyUI's Save Image dumps PNGs into one flat output directory, and if you generate hundreds of variants a day, that becomes a wall of files you have to sort by hand. Save Image Extended FolderPath, part of the illumorae pack (CorvaeOboro's toolkit aimed at randomization and project-structured iteration), is the antidote: it writes your PNGs to an external folder path you specify, with a naming scheme, a counter, and metadata - the same job the WebP variant of this node does, just for stills.
If you run "one project folder per character/object, with prompt-derived filenames" workflows, this is the node that makes that structure real. Pair it with the pack's Text To Filename Safe Text node and you get readable, self-describing filenames like gen/queen_aurora_sunset_014.png instead of ComfyUI_00001_.png.
How it works
Mechanically it's a close cousin of core Save Image, rerouted. You supply:
- images - the IMAGE batch to write.
- folderpath_input - the base directory (default
c:/, change it to your actual path). - foldername_prefix - a subfolder name under that base, default
gen. - filename_prefix - default
output. - delimiter -
underscore,dot, orcomma, for joining name and counter. - save_metadata -
enabled(default) embeds the full ComfyUI workflow and prompt into the PNG, which is what makes the file a portable project (the "drag it back onto the canvas and the graph rebuilds" trick). - counter_digits (2–6) and counter_position (
first/last) -output_001.pngvs001_output.png.
It sanitizes names (Windows-illegal characters become underscores), creates the folder if it doesn't exist, and scans for the highest existing counter so re-runs append instead of overwriting. The one structural difference from the WebP sibling: this node declares no outputs. It's an output-only node; the save is the whole point, so don't go looking for a filepath string to wire onward - the console log tells you where it wrote.
Using it well
The filename workflow is where this shines: feed a prompt through Text To Filename Safe Text, then connect that string to filename_prefix (convert the widget to an input first). Combined with the pack's folder-path loaders, you get a closed loop - generate into a project folder, then load variants back by string match for the next pass. That's the "project structure" workflow the whole pack is built around.
Installing it
ComfyUI Manager → search "illumorae" → install, or:
cd ComfyUI/custom_nodes
git clone https://github.com/CorvaeOboro/ComfyUI_illumorae
Restart ComfyUI. No models to download; dependencies are the usual numpy/pillow/torch stack you already have.
Troubleshooting
Same preview gotcha as every external-path save node: the image won't appear in ComfyUI's output gallery because it's not in the managed folder - check the path you typed. If metadata embeds but your PNG viewer shows nothing special, that's normal; the workflow lives in the PNG's text chunks and only ComfyUI reads them back. And don't set counter_digits higher than you need - output_000001.png is ugly and doesn't sort any better.
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| folderpath_input | STRING | c:/ | — |
| foldername_prefix | STRING | gen | — |
| filename_prefix | STRING | output | — |
| delimiter | COMBO | underscore | 3 options: underscore, dot, comma |
| save_metadata | COMBO | enabled | 2 options: disabled, enabled |
| counter_digits | COMBO | 3 | 5 options: 2, 3, 4, 5, 6 |
| counter_position | COMBO | last | 2 options: first, last |
Outputs (0)
No outputs