Boyo Loop Image Saver
Persist every iteration of a loop run to disk, grid or individual
- images
- save_path
The collector gives you a grid in the graph; this is the node that actually writes the results somewhere. Boyo Loop Image Saver takes the images produced across a loop run and saves them to disk - optionally as a contact-sheet grid, optionally as individual files, or both. If you've ever run a batch of variations and lost them to a ComfyUI restart, this is the insurance policy.
It's an output node in the pack's bastard-loops family, meant to sit at the end of a loop alongside (or instead of) Boyo Loop Collector. Collector shows you the run; this persists it.
The inputs
- images - the IMAGE batch to save, typically
individual_imagesfrom a Boyo Loop Collector or the accumulated images out of the loop. - filename_prefix - base name for saved files, default
bastard_loop. Files land in ComfyUI's output folder with this prefix. - save_grid - default true. Writes a combined grid image of the whole batch.
- save_individuals - default false. Also (or instead) writes each frame as its own numbered file. Turn this on when you need the raw frames for further processing or a dataset.
Output: save_path (STRING) - where the files went, so you can wire the location into logging or a downstream path consumer.
Install
Part of Boyonodes. ComfyUI Manager → search "Boyonodes", or:
cd ComfyUI/custom_nodes
git clone https://github.com/DragonDiffusionbyBoyo/Boyonodes
Restart. No extra dependencies.
The practical detail
Grid-only by default is the right call for review - one file, everything visible. But remember that a grid is a composite, not the originals; if you're building a dataset or want per-iteration images for anything real, flip save_individuals on or you'll be re-running the loop to get the frames back. And give each run its own prefix or folder habit, because like most savers it will happily append rather than complain about overwrites.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| filename_prefix | STRING | bastard_loop | — |
| save_grid | BOOLEAN | true | — |
| save_individuals | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| save_path | STRING | — |