ComfyUI-IG-Motion-I2V

September 24, 2024 ยท View on GitHub

ComfyUI implementation of Motion-I2V This is currently a diffusers wrapper with code adapted from https://github.com/G-U-N/Motion-I2V

Updates

  • [2024/9/24] ๐Ÿ”ฅ First Release
  • [2024/9/23] ๐Ÿ”ฅ Interactive Motion Painter UI for ComfyUI
  • [2024/9/20] ๐Ÿ”ฅ Added basic IP Adapter integration
  • [2024/9/16] ๐Ÿ”ฅ Uodated model code to be compatible with Comfy's diffusers version

TODO

  • Convert the code to be Comfy Native
  • Reduce VRAM usage
  • More motion controls
  • Train longer context models

Nodes

  • MI2V Flow Predictor takes as input a first frame and option motion prompt, mask and vectors. Outputs a predicted optical flow for a 16 frame animation with the input image as the first frame. You can view a preview of the motion where the colors correspond to movement in 2 Dimensions

    colors

  • MI2V Flow Animator takes the predicted flow and a starting image and generates a 16 frame animation based on these

  • MI2V Motion Painter allows you to draw motion vectors onto an image to be used by MI2V Flow Predictor

  • MI2V Pause allows you to pause the execution of the workflow. Useful for loading a resized image into MI2V Flow Predictor or checking you like the predicted motion before committing to further animation

Instructions

Here are some example workflows. They can be found along with their input images here:

More Videos

https://github.com/user-attachments/assets/fc0e7c3e-3788-49da-9564-e2f40bb69d98

https://github.com/user-attachments/assets/392a3dcb-8989-4e89-b3f4-c9836efe794a

Credits