Pix2Gif: Motion-Guided Diffusion for GIF Generation

teaser_op

🍇 [arXiv]   🍎 [Demo]   🍊 [Project Page]

Hitesh Kandala1, Jianfeng Gao2, Jianwei Yang2
Microsoft Research India1, Microsoft Research Redmond2

Setup

Set up python virtual environment

python3.10 -m venv .pix2gif
source .pix2gif/bin/activate
pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
pip install -r requirements.txt
bash scripts/download_pretrained_sd.sh

Demo

github_demo This demo takes in an image and a caption and generates a Gif following the input caption. To launch the demo, run:

python demo.py

Acknowledgement

We build our work on top of InstructPix2Pix

Citation

@misc{kandala2024pix2gif,
      title={Pix2Gif: Motion-Guided Diffusion for GIF Generation}, 
      author={Hitesh Kandala and Jianfeng Gao and Jianwei Yang},
      year={2024},
      eprint={2403.04634},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}