ComfyUI Extension: Compare Frames

Authored by sidmehraajm

Created

Updated

4 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Interactive Image A/B comparison node with slider wipe, side-by-side, overlay transparency, and synced video playback for image sequences. Easily compare or just view one frame or a sequence of frames.

Looking for a different extension?

Custom Nodes (1)

README

πŸ–ΌοΈ Compare Frames – ComfyUI Node

Compare Frames Node

Compare Frames is a custom ComfyUI node for precise, interactive A/B comparison of two image sequences or videos β€” directly inside the node, no extra tools needed.


πŸš€ Features

  • β§ͺ Slider β€” drag a wipe handle to reveal A or B at full canvas size (true reveal, not shrink)
  • ⬛⬛ Side by Side β€” A and B displayed simultaneously, split 50/50
  • β—ˆ Overlay β€” B blended on top of A with a draggable transparency slider
  • β–Ά Video Playback β€” play both sequences in sync with loop and speed controls (0.25Γ— – 4Γ—)
  • Scrubber bar β€” drag to any frame instantly, shows current / total
  • β—€ / β–Ά Step β€” step one frame at a time
  • Offset sync β€” skip_a / skip_b let you align two sequences that start at different times
  • Optional inputs β€” connect one or both sequences; works as a single-sequence player too
  • Frontend caching β€” image batches are cached after first run; changing frame/offset/mode is instant

πŸŽ›οΈ Inputs

| Input | Type | Description | |---|---|---| | compare_frame | INT | Base frame number (shared playhead) | | skip_a | INT | Frame offset for sequence A | | skip_b | INT | Frame offset for sequence B | | fps | FLOAT | Playback speed (default 12) | | images_a | IMAGE (optional) | First image sequence | | images_b | IMAGE (optional) | Second image sequence |


πŸ“¦ Installation

Via ComfyUI Manager

Search for Compare Frames in the Install Custom Nodes menu.

Manual

cd ComfyUI/custom_nodes
git clone https://github.com/sidmehraajm/ssd_frame_compare

Restart ComfyUI. The node appears under the preview category as πŸ–ΌοΈ Compare Frames.


πŸ“ File Structure

ComfyUI/
└── custom_nodes/
    └── ComfyUI-Compare-Frames/
        β”œβ”€β”€ __init__.py           ← node registration
        β”œβ”€β”€ compare_frames.py     ← backend
        β”œβ”€β”€ node.jpg              ← preview image
        β”œβ”€β”€ README.md
        └── web/
            └── compare_frames.js ← frontend UI

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more