Nodes/was-node-suite-comfyui/Create Morph Image
ComfyUI Node Runs on cloud

Create Morph Image

Crossfade two images into a GIF

By WASasquatch·Created 3 years ago·Updated about a year ago· 1,812
Create Morph Image

      Give it two images and it spits out an animated GIF (or APNG) that fades from the first into the second. That's the whole pitch, and it's a fun one. Create Morph Image is the quick way to turn a before/after pair into a little looping transition without opening a video editor.

      Set expectations first, because the name oversells it slightly: this is a crossfade, not a real morph. It doesn't warp features or track landmarks the way morphing software from the 90s did - it blends the two frames' pixels over a sequence of steps. Feed it two wildly different compositions and you get a ghostly dissolve, not a smooth face-melt. Feed it two images that share a layout - same subject, different style, or two steps of an edit - and it looks genuinely slick.

      How it works

      The node interpolates between image A and image B across a number of in-between frames, writing each blended frame into an animated file. You control roughly two things: how many frames it generates (more frames = smoother, longer, bigger file) and how long each frame is held (the timing). It assembles those into a GIF or APNG and saves it to your output folder, which makes this an output node - the file lands on disk when the graph runs.

      Because it's pixel blending, the two inputs really should be the same dimensions. Mismatched sizes are where the results get ugly.

      Inputs and outputs that matter

      The two inputs that matter are simply the two IMAGE inputs - the start frame and the end frame. Beyond that you're setting the frame count and the per-frame duration to trade smoothness against file size and speed. The node produces the animation file directly; it's a terminal "save"-style node rather than something you chain deeper into a graph.

      If you want to build the transition from more than two stills, its sibling Create Morph Image by Path does the same thing across a whole directory of images, fading through them in sequence. Reach for that when you've got a series rather than a pair.

      How to install it

      ComfyUI Manager: search was-node-suite-comfyui, install, restart. Manually:

      cd ComfyUI/custom_nodes
      git clone https://github.com/WASasquatch/was-node-suite-comfyui
      

      then install the pack's requirements.txt in your ComfyUI venv (or the python_embeded route on portable) and restart. GIF/APNG writing leans on Pillow, which comes along with the pack's requirements, so there's no separate FFmpeg install needed for this one - that's only the WAS video nodes, which are a different, Windows-oriented story.

      Common issues & troubleshooting

      The morph is a muddy cross-dissolve, not a clean transition. That's the tool being honest about what it is. It blends pixels; it doesn't warp geometry. To make it look like a real morph, feed it two images that are already aligned - same framing, same subject position - so the blend has something coherent to move through.

      The output looks jerky. Too few in-between frames. Bump the frame count up for a smoother fade; the trade is a larger file and a slightly longer run.

      The file is enormous. GIF is not an efficient format and frame count multiplies it fast. Keep the resolution modest and the frame count reasonable, or accept that a smooth high-res morph GIF is going to be a chunky file by nature.

      Nothing shows up / it errors on save. Check the two inputs are the same size and are actual IMAGE tensors. And remember this is the WAS Node Suite, which has been maintenance-only since late 2023 - if the whole pack throws "Import Failed" after a ComfyUI update, re-run its requirements against the activated venv, that's the usual fix.

      Categoryx

      Inputs (0)

      No inputs

      Outputs (0)

      No outputs