r0zaicandClaude Fable 5 be257891ba Filter reference picker to image files; bump to 1.0.1
The picker listed every file in the input folder, including videos,
which cannot render in the comparer. Live reference preview confirmed
working on desktop/frontend 1.45 after the lazy widget lookup fix.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 19:38:58 -04:00
2026-07-07 19:21:55 -04:00
2026-07-07 18:15:43 -04:00

ComfyUI Reference Image Comparer

Compare your workflow's output against a fixed reference image, right in the node graph. A single node — Reference Image Comparer (category: image) — shows both images in one preview with a hover swipe slider: left of the line is your reference, right is the freshly generated result. Useful for A/B-ing prompt tweaks, sampler settings, or model changes against a known baseline without leaving ComfyUI.

Reference Image Comparer node showing a swipe comparison between a golden-hour reference and a rainy-night result

Usage

  1. Add Reference Image Comparer to your workflow.
  2. Pick the reference with the reference_image picker (uploads go to ComfyUI's input folder), or paste an absolute path into reference_image_path (the path overrides the picker when non-empty).
  3. Connect your generated image to the image input.
  4. Run the workflow, then hover over the preview to swipe between the two images (click-dragging works too).

The node re-runs automatically if the reference image file changes on disk, and the reference side of the preview updates as soon as you pick a different file — no run needed.

Credits

UI concept inspired by the Image Comparer node from rgthree-comfy (MIT).

License

MIT

S
Description
No description provided
Readme MIT
615 KiB
Languages
JavaScript 62.5%
Python 37.5%