ComfyUI Node

Video Fade

Crossfade two video clips together instead of a hard cut

By 807502278·Created 2 years ago·Updated 11 months ago· 20
Video Fade
  • video1
  • video2
  • mask
  • video
  • frames
OverlappingFrame8
methodCosine

Video Fade crossfades the tail of one video clip into the head of another - the kind of transition you'd reach for when stitching two separately-generated AI video clips into one continuous piece instead of leaving a hard, visible cut between them.

The inputs and outputs that matter

Feed it video1 and video2 - both typed as IMAGE, since that's how ComfyUI represents video: a batch of frames. OverlappingFrame (default 8) sets how many frames of the transition zone overlap - the last N frames of video1 blend into the first N frames of video2 over that window. method picks the blend curve: Linear is a straight ramp, Cosine (the default) eases in and out more naturally so the transition doesn't feel mechanical, and Exponential is a third option - though the author flags this one directly in the node's own description as still under development, so treat it as experimental.

There's also an optional mask input for a local fade - blending only part of the frame rather than the whole thing - but the author's description marks this as under development too, right alongside Exponential. Both are real, wired-up options in the UI, but neither is finished per the pack's own notes, so if either produces a result that doesn't match what you'd expect from a polished fade, that's consistent with what the author already told you to expect.

Two outputs: video, the combined clip - video1, the crossfaded overlap region, then video2, stitched into one continuous batch - and frames, an integer giving the total frame count of that result. That count is worth actually using rather than ignoring: a crossfade of N frames means the combined length is len(video1) + len(video2) - N, not the simple sum, and any downstream node that needs an exact frame count will get it wrong if you hardcode a number instead of wiring this output in.

Installing it

Comes with ComfyUI-WJNodes, no separate download. ComfyUI Manager: search "ComfyUI-WJNodes," install, restart. Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/807502278/ComfyUI-WJNodes.git

You'll find it under WJNode → video → merge. No models needed - this is pure frame blending, nothing requiring downloaded weights.

Where people get burned

Stick to Linear or Cosine for now if you want a fade that behaves predictably - those are the two the author isn't flagging as in-progress. If you're chasing a fade that only affects part of the frame using the mask input and it's not behaving the way a finished feature would, that's the documented current state of that input, not a bug report waiting to happen. Also double-check OverlappingFrame isn't larger than either clip's actual frame count - a transition window longer than one of your source clips doesn't have anywhere to blend from.

CategoryWJNode/video/merge

Inputs (5)

NameTypeDefaultDescription
video1IMAGE
video2IMAGE
OverlappingFrameINT82–4096
methodCOMBOCosine3 options: Linear, Cosine, Exponential
maskoptMASK

Outputs (2)

NameTypeDescription
videoIMAGE
framesINT