Every image you generate,
one keystroke away.
Enzino History indexes everything ComfyUI creates, images and videos, with prompts, seeds, models and LoRAs. Search it, compare it, reload the exact workflow, or send it back into your graph.
01Install & update
Enzino History needs a recent ComfyUI and nothing else. It uses Pillow, NumPy, PyTorch and aiohttp, which ComfyUI already ships. Video thumbnails use PyAV (bundled with recent ComfyUI) or FFmpeg if it is installed. It runs on Windows, Linux and macOS.
Free edition
- Unzip
ComfyUI-EnzinoHistory.zipintoComfyUI/custom_nodes/. You must end up withcustom_nodes/ComfyUI-EnzinoHistory/__init__.py, without an extra nested folder. - Restart ComfyUI. The console shows
[Enzino History] vX.Y.Z ready — Alt+H to open the gallery. - Refresh the browser tab with Ctrl+F5.
The first start indexes your output/ folder in the background. On large folders this takes a minute, and the gallery fills up as it goes.
Pro add-on PRO
Either install ComfyUI-EnzinoHistory-PRO.zip instead of the free zip, or drop EnzinoHistory_PRO.py next to __init__.py in an existing install. Restart ComfyUI: the console shows … PRO ready. Then refresh the browser.
EnzinoHistory_PRO.py in ComfyUI/user/enzino_history/, where it survives updates of the node folder. The file is found even if your browser renamed it, for example EnzinoHistory_PRO (1).py.Update & uninstall
Update: replace the ComfyUI-EnzinoHistory folder, restart ComfyUI and refresh the browser. Your index, favorites, ratings, notes, collections and extra folders are kept, because they are stored outside the node folder.
Uninstall: delete the node folder. To remove the index too, delete ComfyUI/user/enzino_history/. Your images are never touched.
02Opening the gallery
- Alt+H anywhere in ComfyUI. Press again to close.
- The History Enzino tab in the left sidebar shows recent items with a quick search. Open gallery opens the full screen.
- Menu Enzino → Open Enzino History.
Click a thumbnail in the sidebar to open it directly in the gallery. Drag a thumbnail onto the canvas to create an Enzino History Loader node set to that image.
The sidebar refreshes by itself after each generation and after deletions.
03The gallery
Toolbar
| Control | What it does |
|---|---|
| Search | Searches prompt, negative, model, LoRA, file path, note and exact seed. Several words must all match. -word excludes a word. / focuses the field. |
| Favorites | Only your favorites. |
| Stacks | Groups items with the same prompt and model into one card with a ×N badge. |
| Images / Videos | Filters by type. |
| Today · 7 days · 30 days | Filters by date. |
| Folders · Collections · Rating PRO | Filter by source folder, collection or minimum rating. |
| Model | Filters by checkpoint / UNet. |
| Sort | Newest, oldest, favorites first, top rated PRO, shuffle. |
| Size slider | Thumbnail size (remembered). |
| 📊 · ⟳ · ✕ | Stats PRO, rescan all folders, close. |
Cards, selection & stacks
- Click opens the detail view. On a stack, a click opens the stack. Hover shows prompt, size, model and age. Videos play on hover.
- ☆ (top right) toggles favorite. ✓ (top left) selects. Ctrl+click and Shift+click select one or a range, and Ctrl+A selects all loaded items. The selection bar offers favorite, compare, collection, rate, export and delete.
- In a stack, Keep ★ & rated, trash the rest moves every item of the stack that is neither a favorite nor rated to the trash. Mark your keepers first.
_enzino_trash folder at the root of the folder it came from, keeping its sub-folders. Move a file back to restore it. Empty the trash yourself when you want the disk space back.New renders in output/ appear automatically after each generation. Extra folders PRO are rechecked when the gallery opens (at most once a minute) and with ⟳.
04Detail view
Lightbox: click to zoom ×2.5 on the clicked point, use the wheel to zoom up to ×8, drag to pan, and click again to see the full image. ← → moves to the previous / next item.
| Action | What it does |
|---|---|
| Load workflow | Opens the embedded workflow in a new tab (Enter). If the file only contains the API prompt, that is loaded instead. |
| Re-run · ×4 variations PRO | Queues the same generation, or four new seeds. See Pro features. |
| Favorite | Toggles favorite (F). |
| Apply settings | Copies seed (set to fixed), steps, CFG, sampler, scheduler and denoise to the selected nodes, or to every matching node if nothing is selected. |
| As Load Image / Video | Copies the file into input/ and adds a Load Image (or Load Video) node. |
| As History Loader | Adds an Enzino History Loader node set to this item. |
| Open · Download | Opens the original in a new tab, or downloads it. |
| Copy workflow | Copies the workflow JSON. |
| Export… · Adjust PRO | See Pro features. |
| Delete | Moves the item to the trash (Del). |
Next to the prompt, ≡ writes it into the selected text node and ⧉ copies it. The seed has its own apply and copy buttons. Click a LoRA tag to search for it. Note stores a free text that you can search.
Metadata read
Enzino History reads ComfyUI metadata from PNG, WEBP and JPG (core Save Image, Enzino History Save and most save nodes). It also understands rgthree Power Lora Loader, Flux guidance, Wan nodes, core Save Video and VHS Video Combine, as well as Automatic1111 / Forge PNGs. The PNG that VHS saves next to each video is hidden, and its metadata is attached to the video. Files without metadata still show up and can be searched by name.
05Videos
MP4, WEBM, MOV, MKV, M4V and GIF are indexed. Cards show a ▶ duration badge, play on hover and scrub as you move the mouse across them. In the detail view, Space plays / pauses.
Browsers can't play every codec. H.264 and VP9 play everywhere, while H.265/HEVC may not. Unplayable videos still show their thumbnail and settings.
06Nodes
💾 Enzino History Save
A drop-in replacement for Save Image that indexes the image instantly.
| Input | Description |
|---|---|
images | Images to save. |
filename_prefix | Default Enzino/%date:yyyy-MM-dd%/img. Supports sub-folders and ComfyUI date tokens. |
format | png, webp or jpg. The workflow is embedded in every format. |
quality | 50–100, for WEBP and JPG. |
note | Optional text stored with the image and searchable in the gallery. |
🖼️ Enzino History Loader
Loads any item from your history together with its settings. The 🖼️ Pick from History button opens the gallery as a picker.
| Widget / output | Description |
|---|---|
video_frame | For videos: last (default, ideal to extend a clip), first, or custom PRO. |
frame_index PRO | Frame number when custom. Negative values count from the end (-1 = last). |
image, mask | IMAGE, MASK (alpha channel when present). |
positive, negative | STRING. |
seed, steps, cfg, denoise | INT / FLOAT. |
sampler_name, scheduler | You can wire them straight into a KSampler. |
width, height, model, info | Size, model name, and a readable summary. |
07Pro features PRO
Without the Pro add-on, these buttons show a PRO badge and open the Ko-Fi page.
Free edition
- Gallery, search, filters, stacks
- Lightbox zoom, video player
- Load workflow, apply settings
- Favorites, notes, delete to trash
- Save & Loader nodes
Pro add-on ✦
- Re-run & ×4 variations
- Compare: slider & side by side
- Adjust (12 settings + presets)
- Exports: clean, Civitai, LoRA dataset
- Ratings, collections, stats
- Extra folders, any video frame
Re-run & ×4 variations
In the detail view (or R), Re-run queues the exact same generation and ×4 variations queues four runs with new random seeds. The open workflow is not touched. This needs the API prompt embedded in the file, plus the same models and custom nodes as the original run.
Compare A/B and before / after
Select two items and press C (or click Compare). An adjusted copy also gets a Before / after button that compares it with its original.
- Slider: both images on top of each other. Drag the central bar or click anywhere. ← → moves it by 1 %, by 10 % with Shift.
- Side by side: zoom and pan are synced on both images, and a cross shows the same spot on the other side.
- In both modes: wheel zoom up to 1600 %, drag to pan, 0 or double-click to fit, + / − to zoom, S to switch mode, X to swap sides.
- The side panel lists every setting that differs, including adjustments and source folder, plus a word-level prompt diff.
Adjust
- Light: exposure, brightness, contrast, highlights, shadows. Color: temperature, tint, saturation, vibrance. Effects: sharpen, grain, vignette.
- Presets: Punchy, Soft, Warm, Cool, Film, Cinematic, B&W.
- Hold B (or Hold: before) to see the original. Double-click a slider to reset it.
- Save as copy writes
name_edit.pngnext to the original, with the original prompt and workflow plus your adjustments. Replace original overwrites the file and keeps favorites, ratings, notes and collections, with a backup in_enzino_trash.
Exports
- Clean: strips all metadata, so you can share without giving away your workflow. Optional watermark (text, position, opacity) and format.
- Civitai pack: files plus one
.txtof prompt and settings each. With Protect my workflow, Civitai still displays the generation info, but the ComfyUI workflow is removed. - LoRA dataset:
0001.png+0001.txtcaptions, with LoRA tags and weights cleaned out and an optional trigger word. You can set a max size and include videos for video LoRAs.
Ratings, collections & stats
Rate 1–5 ★ with 1–5 (0 clears) and file items into named collections. Both work on selections and are available as filters. 📊 Stats shows your keep rate (favorite or ★4+) per model, LoRA and sampler, and items per day over 30 days.
Extra folders
Folder menu → + Add / manage folders… adds any folder of your PC to the gallery, sub-folders included. Paste a path or browse with the built-in folder browser. You can rename a folder, filter by it, or remove it from the gallery. Removing a folder never touches the files on disk.
A folder inside output/ (or one that contains it) is refused, to avoid duplicates. Files are only read. Deleting an item moves it to that folder's own _enzino_trash.
Any video frame
In the video player, → Load Image extracts the frame on screen into input/. → History Loader adds a Loader set to that exact frame.
08Keyboard shortcuts
| Where | Keys |
|---|---|
| Anywhere | Alt+H open / close |
| Gallery | / search · Ctrl+A select all · C compare PRO · E export PRO · Del delete · Esc back / close |
| Detail view | ← → navigate · Enter load workflow · F favorite · Space play / pause · Del delete |
| Detail view PRO | R re-run · A adjust · E export · 1–5 rate · 0 clear rating |
| Compare PRO | ← → move bar (Shift ×10) · + − zoom · 0 fit · S switch mode · X swap |
| Adjust PRO | hold B to see the original |
09Data & privacy
- The index, thumbnails and temporary exports live in
ComfyUI/user/enzino_history/. You can delete this folder at any time to rebuild the index. Favorites, ratings, notes, collections and extra folders are lost if you do. - Enzino History works 100 % locally. It sends nothing to the internet, and the only external link is the Ko-Fi button.
- If you start ComfyUI with
--listen, other devices on your network can open the gallery like any other ComfyUI page. With Pro, they can also see the folder names in the folder browser and the files of the folders you added.
10Troubleshooting
| Problem | Fix |
|---|---|
| No sidebar tab, Alt+H does nothing | Check the folder layout (custom_nodes/ComfyUI-EnzinoHistory/__init__.py) and look for the ready line in the console. Then press Ctrl+F5. |
| PRO badges still shown | Put the Pro file next to __init__.py or in user/enzino_history/, restart ComfyUI, check for PRO ready in the console, then press Ctrl+F5. |
| A new image doesn't appear | Click ⟳. If the image was saved outside output/, add its folder (Pro). |
| Prompt / settings empty | The file has no ComfyUI or A1111 metadata, for example because it was saved by a node that strips it, or edited in another app. |
| Video won't play / no thumbnail | Playback depends on the codec (see Videos). Thumbnails need PyAV or FFmpeg. |
| Re-run fails | ComfyUI's error is shown. Usually a model or custom node from the original run is missing. |
| Load workflow greyed out | The file contains no workflow. |
| Slow first start | The first scan of a large folder runs in the background. Later scans only read new or changed files. |
Still stuck? Contact me on Ko-Fi with your ComfyUI console log.
11License
- Free edition: GPL-3.0-or-later, with an additional permission for the official Pro add-on. See
LICENSEandLICENSING.mdin the free package. - Pro add-on: Enzino History Pro License (
LICENSE-PRO.txt), a personal license that can't be redistributed. - Your images and videos remain entirely yours.