Hypnodes Image Saver
Auto-filing your generations into category/Creator/Character folders
- images
- lib_bus
If the Character Library is the vault, the Image Saver is the filing clerk. It's an output node - the end of the line - that saves your generated images into an automatically-built folder structure organized by category, creator, and character name. If you generate a lot of character work, this is the node that stops your output folder from turning into an unsorted mountain of 00001.png files.
The two inputs that matter
- images (IMAGE) - the final image tensor from your pipeline.
- lib_bus (HN_LIB_DATA) - character identity data from the Character Library. This is where
name,category, andcreatorcome from, and it's what drives the folder structure.
Everything else is a toggle or setting:
- Save Images - the global kill-switch. Off lets you run test generations without writing anything to disk.
- Preview Images - controls whether the node shows the image preview on its body. Turn off to save VRAM and canvas space on batch runs.
- Embed workflow - when on (default), embeds the full node graph and prompt metadata into the PNG. This is the "workflow included" culture ComfyUI is famous for - but if you want clean, anonymous output files, flip it off.
- Category folder / Creator folder / NSFW folder - toggles for directory structure. On, they build nested folders matching
category/Creator/Character/, with an optional isolatedNSFWsubfolder at the end. - Filename prefix (default
Hypnodes) - the base name; the final files come out asHypnodes_CharacterName_0001.png. - Custom path - leave blank to use ComfyUI's standard output dir, or paste an absolute path to save somewhere else.
- Compression Level (0–9, default 4) - lossless PNG compression. 9 maximizes disk savings at a CPU cost; the default 4 is a reasonable middle.
- Scale (%) (1–100, default 100) - downsizes images with LANCZOS resampling before saving, useful when you generate big and archive small.
The gotcha nobody warns you about
lib_bus is a required input. That means the Image Saver cannot be used standalone - you need a Hypnodes Character Library node wired in, even if you don't care about the folder structure and just want a plain save. If you're grabbing this node for its compression and scaling features without adopting the library system, you'll hit a wall at the wire. With the library connected, the whole thing works as advertised: pick a character, generate, and the image lands in the right folder with the right name.
Where people get burned
The Embed workflow toggle is the one most people forget. ComfyUI's default behavior of stuffing the full graph into the PNG is great for sharing recipes, but if you're posting output publicly and your workflow contains prompts or settings you'd rather not share, that metadata is right there in the file. Flip Embed workflow off for clean files.
Install
ComfyUI Manager (search Hypnodes) or:
cd ComfyUI/custom_nodes
git clone https://github.com/hypnichorse/ComfyUI-Hypnodes
Restart ComfyUI. No model downloads; the pack only depends on numpy and pillow, both already in ComfyUI.
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| lib_bus | HN_LIB_DATA | — | |
| Save Images | BOOLEAN | true | — |
| Preview Images | BOOLEAN | true | — |
| Embed workflow | BOOLEAN | true | — |
| Category folder | BOOLEAN | true | — |
| Creator folder | BOOLEAN | true | — |
| NSFW folder | BOOLEAN | false | — |
| Filename prefix | STRING | Hypnodes | — |
| Custom path | STRING | — | |
| Compression Level | INT | 40–9 | — |
| Scale (%) | INT | 1001–100 | — |
Outputs (0)
No outputs