Image Save with Prompt/Info File (WLSH)
Save the PNG and a matching text file
- images
- info
This is the pack's full-service save node: it writes your image with embedded generation metadata (Automatic1111-style - a comment/EXIF field you or another tool can read back later), and it drops a plain-text .txt file alongside it with the same info, using a matching filename. If you've ever lost track of what settings produced a specific image because you only had the PNG's baked-in workflow to dig through, this is the node that fixes that going forward - you get a human-readable sidecar file you can grep or skim without opening ComfyUI at all.
The fields that matter. images and filename are required - filename defaults to %time_%seed, and that's a template, not literal text: %time expands using whatever time_format you set (default %Y-%m-%d-%H%M%S), %seed pulls in the seed value, %model pulls in a model name, and %counter pulls an integer - the README recommends wiring that one from a primitive node set to "increment" so it climbs on every run. path lets you route saves into a subfolder; extension picks png/jpeg/tiff/gif, and quality (1-100) controls lossy compression on the formats that use it. The optional fields - positive, negative, seed, modelname, counter, and info - are what actually get written into the metadata and the text file. info specifically is meant to come from this pack's KSamplerAdvanced (WLSH) node's INFO output, which carries a bundle of sampler settings; if you're using stock KSampler you can just skip info and fill in the other fields by hand. One reassuring detail from the README: this node doesn't strip ComfyUI's own embedded-workflow PNG data, so you keep the "drag the image back into ComfyUI to reload the graph" behavior on top of everything this node adds.
Installing it
ComfyUI Manager: search "wlsh_nodes" (or "WLSH Nodes"), install, restart. Manual: cd ComfyUI/custom_nodes && git clone https://github.com/wallish77/wlsh_nodes, restart ComfyUI. No models, no unusual dependencies.
Common issues
There's a real, author-confirmed gotcha here worth knowing before you hit it yourself: the %time token only gets parsed in the filename field, not the path field. Someone tried to route saves into date-stamped subfolders using %time in path and got nothing - the images saved with the right timestamp in their filename, but the folder structure didn't pick it up. The pack's author confirmed on the project's GitHub issues that path templating simply isn't implemented for time keywords; if you want dated subfolders, build that logic outside this node (a separate string node computing today's date into your path input) rather than relying on %time inside path itself.
Beyond that, the usual save-node issues apply: if path points somewhere ComfyUI's output directory can't write to, the save silently fails or errors depending on your OS permissions - check that the folder exists and is writable before assuming the node is broken. And if your text-file sidecar comes out mostly blank, it's almost always because the optional fields (positive, negative, seed, etc.) weren't actually wired up - this node writes what you feed it, it doesn't infer anything on its own.
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| filename | STRING | %time_%seed | — |
| path | STRING | — | |
| extension | COMBO | 4 options: png, jpeg, tiff, gif | |
| quality | INT | 1001–100 | — |
| positiveopt | STRING | — | |
| negativeopt | STRING | — | |
| seedopt | INT | 00–18446744073709550000 | — |
| modelnameopt | STRING | — | |
| counteropt | INT | 00–18446744073709550000 | — |
| time_formatopt | STRING | %Y-%m-%d-%H%M%S | — |
| infoopt | INFO | — |
Outputs (0)
No outputs