Preview History (Raffle)
Preview History is a rolling contact sheet node
- image
The worst part of batch-generating isn't the waiting - it's that ComfyUI only shows you the images from the current run. Queue twelve seeds and once the batch finishes you can't actually compare the outputs side by side. Preview History fixes exactly that. It's a dead-end display node that keeps a rolling gallery of your last N images inside the graph, so every render adds to the wall instead of replacing it.
What it does under the hood: on each run it saves the incoming image as a PNG into a history_folder inside the pack's own directory, prunes that folder down to the newest history_size images, then pushes all of them to the UI as previews. Same trick ComfyUI's PreviewImage uses, but cumulative - your whole recent history stays on screen, newest first.
Inputs: image (from a VAE Decode, as usual) and history_size (default 9, range 1 to 1,000,000 - a million, effectively unlimited). There are no outputs, and there aren't supposed to be; it's an output node like PreviewImage. Wire it as a side-branch off your VAE Decode and it just displays.
That's the whole node, honestly. It ships in the Raffle pack and it's clearly built for that workflow: you're rolling random taglists, so you want to flip through a bunch of outputs and eyeball which scenario actually worked. It's flown mostly under the radar (single-digit search impressions), but for that use case it's genuinely handy.
Install is the pack:
cd ComfyUI/custom_nodes
git clone https://github.com/rainlizard/ComfyUI-Raffle
...or search "Raffle" in ComfyUI Manager. No dependencies, no downloads beyond the repo itself.
Three things worth knowing:
- The images are real files on disk, in
ComfyUI/custom_nodes/ComfyUI-Raffle/history_folder. They survive restarts - that's the point - but uninstalling the pack deletes your history. Copy out anything you want first. - Cleanup only happens on runs. Lower
history_sizeand the old files don't vanish until the node executes again. - The folder grows at whatever resolution you generate. At the default 9 images it's nothing; crank
history_sizeand the disk usage is on you.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| history_size | INT | 91–1000000 | How many images to keep in the history folder. |
Outputs (0)
No outputs