Compare Video Options
The quiet little settings node that controls every Nynxz compare video
- options
Compare Video Options doesn't make a picture of anything. It makes a little config object, and it exists so the two "Create Compare Video" nodes in ComfyUI-NynxzNodes don't each have to grow ten inputs. If you're happy with defaults you'll never touch it - every compare node works fine with no options wired, falling back to sensible values. But the moment you want the clip to look right rather than merely exist, this is where you go.
What it actually controls
Everything about how the two images are framed and how fast the video plays:
fps(default 8) - playback rate of the resulting clip. 8 is a deliberate, gentle default for looped before/afters; push toward 24–30 if you're making an actual video and want it to feel like one.scale_mode(defaultcontain) - how each image fits the shared canvas.containletterboxes to show the whole frame;covercenter-crops to fill;stretchdistorts. Since a compare is only meaningful when both versions cover the same thing, this quietly decides whether your two shots line up.upscale_method(defaultlanczos) - resampling used when the images are resized to the common canvas. Lanczos is the right default; the list also has nearest, bilinear, bicubic and area for when you're comparing pixel art or want to be extra lazy-friendly.background_color(default#000000) - fill for the areascontainleaves uncovered. Black is the standard gallery look; white suits clean "studio" comparisons.fade_width(default 20px) - belongs to the wipe compare: the softness of the divider between the two images. 0 gives a razor edge; higher feathers it so the sweep reads as a blend rather than a cut.
There's also a hidden-in-plain-sight wipe_angle (default -1). Leave it at -1 and the wipe uses its per-node wipe_direction; set an explicit angle in degrees and it overrides the direction for angled sweeps that none of the cardinal options express.
The single output is the options object (NYNXZ_COMPAREVIDEO_OPTS), which plugs into the optional options socket on Create Fade Compare Video or Create Wipe Compare Video. One node can feed several compare nodes, which is handy when you're generating a whole gallery of before/afters and want every clip at the same fps and framing.
Why a settings object instead of inputs?
Honestly, it's a design taste thing and this pack leans into it everywhere (the LoRA stack, the Fusion grid, the Regions tables are all data-structure-in, data-structure-out nodes). The payoff is that the compare nodes stay a clean two-image in, frames-out primitive, and the fiddly stuff lives in one reusable place. The cost is one extra node on the canvas and a moment of "wait, where's the fps setting?" - it's on this node, not the video node.
Install & notes
Same as the rest of the pack: ComfyUI Manager → search "NynxzNodes", or git clone https://github.com/Nynxz/ComfyUI-NynxzNodes into ComfyUI/custom_nodes. No Python dependencies. If you clone by hand the built UI won't be there (web/ is gitignored) - run pnpm install && pnpm build in the folder, or take the registry build via Manager. Restart after installing.
The trap to avoid: forgetting this node even exists and wondering why the fade compare node doesn't have an fps field. Wire an Options node in when your clip is stuttery (raise fps), has black bars you don't want (cover instead of contain, or change background_color), or has a harsh wipe edge (raise fade_width).
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| background_color | STRING | #000000 | Background color for the preview |
| scale_mode | COMBO | contain | Choose how images are scaled to fit the target size |
| fps | FLOAT | 81–60 | Frames per second of the compare video |
| upscale_method | COMBO | lanczos | Resampling method used when resizing images |
| fade_width | INT | 200–100 | Width of the fade transition in pixels |
| wipe_angleopt | INT | -1-1–360 | Angle of the wipe in degrees (-1 for direction-based) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| options | NYNXZ_COMPAREVIDEO_OPTS | Compare Video Options Object |