ComfyUI Extension
Reference Image Comparer
Compare your workflow's output against a fixed reference image with a hover swipe slider.
r0zaic/comfyui-reference-image-comparer
Nodes1
On cloudLocal install
Categoryimage
Stars0
Updatedabout a month ago
Readme
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.

Usage
- Add Reference Image Comparer to your workflow.
- Pick the reference with the
reference_imagepicker (uploads go to ComfyUI'sinputfolder), or paste an absolute path intoreference_image_path(the path overrides the picker when non-empty). - Connect your generated image to the
imageinput. - 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).