đŸĻ„ī¸ MOFA-Video: Controllable Image Animation via Generative Motion Field Adaptions in Frozen Image-to-Video Diffusion Model

   
Muyao Niu 1,2   Xiaodong Cun2,*   Xintao Wang2   Yong Zhang2  
Ying Shan2   Yinqiang Zheng1,*  
1 The University of Tokyo   2 Tencent AI Lab   * Corresponding Author  
---
Check the gallery of our project page for many visual results!
## New Features/Updates đŸ”ĨđŸ”ĨđŸ”Ĩ We have released the Gradio inference code and the checkpoints for trajectory-based image animation! Please refer to `./MOFA-Video-Traj/README.md` for instructions. ## 📰 CODE RELEASE - [x] (2024.05.31) Gradio demo and checkpoints for trajectory-based image animation - [ ] Training scripts for trajectory-based image animation - [ ] Inference scripts and checkpoints for keypoint-based facial image animation - [ ] Training scripts for keypoint-based facial image animation - [ ] Inference Gradio demo for hybrid image animation ## Introduction

TL;DR: Image đŸžī¸ + Hybrid Controls đŸ•šī¸ = Videos đŸŽŦđŸŋ

We introduce MOFA-Video, a method designed to adapt motions from different domains to the frozen Video Diffusion Model. By employing sparse-to-dense (S2D) motion generation and flow-based motion adaptation, MOFA-Video can effectively animate a single image using various types of control signals, including trajectories, keypoint sequences, AND their combinations.

During the training stage, we generate sparse control signals through sparse motion sampling and then train different MOFA-Adapters to generate video via pre-trained SVD. During the inference stage, different MOFA-Adapters can be combined to jointly control the frozen SVD. ## đŸ’Ģ Trajectory-based Image Animation ### Inference Our inference demo is based on Gradio. Please refer to `./MOFA-Video-Traj/README.md` for instructions. ## Citation ``` @article{niu2024mofa, title={MOFA-Video: Controllable Image Animation via Generative Motion Field Adaptions in Frozen Image-to-Video Diffusion Model}, author={Niu, Muyao and Cun, Xiaodong and Wang, Xintao and Zhang, Yong and Shan, Ying and Zheng, Yinqiang}, journal={arXiv preprint arXiv:2405.20222}, year={2024} } ``` ## Acknowledgements We sincerely appreciate the code release of the following projects: [DragNUWA](https://arxiv.org/abs/2308.08089), [SadTalker](https://github.com/OpenTalker/SadTalker), [AniPortrait](https://github.com/Zejun-Yang/AniPortrait), [Diffusers](https://github.com/huggingface/diffusers), [SVD_Xtend](https://github.com/pixeli99/SVD_Xtend), [Conditional-Motion-Propagation](https://github.com/XiaohangZhan/conditional-motion-propagation), and [Unimatch](https://github.com/autonomousvision/unimatch).