Nodes/Boyonodes/Boyo Loop Image Saver
ComfyUI Node

Boyo Loop Image Saver

Persist every iteration of a loop run to disk, grid or individual

By DragonDiffusionbyBoyo·Created 2 years ago·Updated 27 days ago· 16
Boyo Loop Image Saver
  • images
  • save_path
filename_prefixbastard_loop
save_gridtrue
save_individualsfalse

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_images from 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.

Categoryboyo/bastardloops

Inputs (4)

NameTypeDefaultDescription
imagesIMAGE
filename_prefixSTRINGbastard_loop
save_gridBOOLEANtrue
save_individualsBOOLEANfalse

Outputs (1)

NameTypeDescription
save_pathSTRING