← Open Source
aim-uofa

Framer

[ICLR'25] Official PyTorch implementation of "Framer: Interactive Frame Interpolation".

Model DevelopmentArchitecturePython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
503
Stars
28
Forks
+1
This week
4
Contributors
Created 2024-10-24 · Updated 2026-10-13 · #18254 today
Top developers
encounter1997cshenken-ouyang

aim-uofa/Framer is ranked 18,254 with 503 stars.

Same-category comparison

aim-uofa/Framer is ranked 18,254 among these 8 peers; caiyuanhao1998/RSN is ranked 18,255.

Same-category comparison
NameRankMetrics
jedld/tensor_stream18,238
Language:
Ruby
Stars:
504
Forks:
16
Description:
A ground-up and standalone reimplementation of TensorFlow for ruby. Comes with a pure ruby and OpenCL opcode evaluator.
official-stockfish/nnue-pytorch18,240
Language:
Python
Stars:
504
Forks:
155
Description:
Stockfish NNUE (Chess evaluation) trainer in Pytorch.
sxhxliang/BigGAN-pytorch18,245
Language:
Python
Stars:
504
Forks:
99
Description:
Pytorch implementation of LARGE SCALE GAN TRAINING FOR HIGH FIDELITY NATURAL IMAGE SYNTHESIS (BigGAN).
OpenBMB/CPM-Live18,252
Language:
Python
Stars:
503
Forks:
40
Description:
Live Training for Open-source Big Models.
caiyuanhao1998/RSN18,255
Language:
Python
Stars:
503
Forks:
62
Description:
"Learning Delicate Local Representations for Multi-Person Pose Estimation" (ECCV 2020 Spotlight) & (COCO 2019 Human Keypoint Detection Challenge Winner) & (COCO 2019 Best Paper Award).
giuseppec/iml18,257
Language:
R
Stars:
503
Forks:
87
Description:
iml: interpretable machine learning R package.
google-research/adapter-bert18,258
Language:
Python
Stars:
503
Forks:
54
raskr/rust-autograd18,265
Language:
Rust
Stars:
503
Forks:
40
Description:
Tensors and differentiable operations (like TensorFlow) in Rust.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryArchitecture
KeywordsVideo production
Stars503
Forks28
Contributors4
Created date2024-10-24
Updated date2026-10-13
Stars in 1 day0
Stars in 7 days1
Rank18,254
Previous rank18,008
Rank change-246
7-day stars rank11,610
Previous 7-day stars rank11,659
7-day stars rank change49
Total stars rank19,276
Previous total stars rank19,252
Total stars rank change-24
CountryChina
README summary

Framer Framer: Interactive Frame Interpolation Wen Wang 1,2 , Qiuyu Wang 2 , Kecheng Zheng 2 , Hao Ouyang 2 , Zhekai Chen 1 , Biao Gong 2 , Hao Chen 1 , Yujun Shen 2 , Chunhua Shen 1 1 Zhejiang University, China, 2 Ant Group 💡 Changelog [2024/12/20]. Thanks to kijai for the ComfyUI Support at ComfyUI-FramerWrapper! Huggingface Gradio Demo is now available here! Launch the project page and upload the arXiv preprint. 🔆 TL;DR We propose Framer, a more controllable and interactive

frame interpolation method that allows users to produce smoothly transitioning frames between two images by customizing the trajectory of selected keypoints, enhancing control and handling challenging cases. Main Claims The proposed method, Framer, provides interactive frame interpolation, allowing users to customize transitions by tailoring the trajectories of selected keypoints. This approach mitigates the ambiguity of image transformation, enabling much finer control of local motions and improving the model's ability to handle challenging cases (e. , objects with differing shapes and styles

). Framer also includes an "autopilot" mode that automatically estimates keypoints and refines trajectories, simplifying the process and enabling motion-natural and temporally coherent results. Methodology This work utilizes a large-scale pre-trained image-to-video diffusion model (Stable Video Diffusion) as the base model. It introduces additional end-frame conditioning to facilitate video interpolation and incorporates a point trajectory controlling branch for user interaction. Key Results Framer outperforms existing frame interpolation methods in terms of visual quality and natural

motion, particularly in cases involving complex motions and significant appearance changes. Quantitative evaluation using FVD (Fréchet Video Distance) demonstrates superior performance compared to other methods. User studies show a strong preference for Framer's output, highlighting its effectiveness in producing realistic and visually appealing results. Showcases Note the videos are spatially compressed. We refer readers to the project page for the original videos. Video Interpolation with User-Interaction 2. Video Interpolation without User-Input Control 4. Local Inference Installation Prepare

weights Download pretrained Stable Video Diffusion and Framer weights and put them in , as follows. Run gradio locally Some example inputs are presented in , enjoy the interactive frame interpolation! 📖 Citation BibTeX Please consider citing our paper if our code is useful: 🎫 License For academic use, this project is licensed under the 2-clause BSD License. For commercial use, please contact C Shen. 😉 Acknowledgements Our implementation is based on SVD_Xtend and DragAnything. Thanks to kijai for the ComfyUI Support.

Frequently asked questions

How many stars and forks are recorded?

aim-uofa/Framer has 503 stars and 28 forks.

What is the repository rank?

aim-uofa/Framer is ranked 18,254.

What language and category are recorded?

aim-uofa/Framer has 503 stars, uses Python and belongs to Model Development.

Which repository is closest in rank?

aim-uofa/Framer is compared with caiyuanhao1998/RSN, ranked 18,255 with 503 stars.

README

Framer

Framer: Interactive Frame Interpolation

Wen Wang1,2,   Qiuyu Wang2,   Kecheng Zheng2,   Hao Ouyang2,   Zhekai Chen1,   Biao Gong2,   Hao Chen1,
Yujun Shen2,   Chunhua Shen1

1Zhejiang University, China,   2Ant Group

     

💡 Changelog

  • [2024/12/20]. Thanks to kijai for the ComfyUI Support at ComfyUI-FramerWrapper!
  • [2024/12/19]. Release the checkpoints.
  • [2024/10/28]. Huggingface Gradio Demo is now available here!
  • [2024/10/25]. Launch the project page and upload the arXiv preprint.

🔆 TL;DR

We propose Framer, a more controllable and interactive frame interpolation method that allows users to produce smoothly transitioning frames between two images by customizing the trajectory of selected keypoints, enhancing control and handling challenging cases.

Main Claims

The proposed method, Framer, provides interactive frame interpolation, allowing users to customize transitions by tailoring the trajectories of selected keypoints. This approach mitigates the ambiguity of image transformation, enabling much finer control of local motions and improving the model's ability to handle challenging cases (e.g., objects with differing shapes and styles). Framer also includes an "autopilot" mode that automatically estimates keypoints and refines trajectories, simplifying the process and enabling motion-natural and temporally coherent results.

Methodology

This work utilizes a large-scale pre-trained image-to-video diffusion model (Stable Video Diffusion) as the base model. It introduces additional end-frame conditioning to facilitate video interpolation and incorporates a point trajectory controlling branch for user interaction.

Key Results

Framer outperforms existing frame interpolation methods in terms of visual quality and natural motion, particularly in cases involving complex motions and significant appearance changes. Quantitative evaluation using FVD (Fréchet Video Distance) demonstrates superior performance compared to other methods. User studies show a strong preference for Framer's output, highlighting its effectiveness in producing realistic and visually appealing results.

Showcases

Note the videos are spatially compressed. We refer readers to the project page for the original videos.

1. Video Interpolation with User-Interaction

Start Image

Input Trajectory & Interpolation Results

End Image

 ![](assets/001_results_drag/input_frames/dog_0.png) 




 ![](assets/001_results_drag/real_dog_00/temp_1_20240925-165335_mode2.gif) 




 ![](assets/001_results_drag/input_frames/dog_1.png) 









 ![](assets/001_results_drag/input_frames/dog_0.png) 




 ![](assets/001_results_drag/real_dog_01/temp_1_20240925-165555_mode2.gif) 




 ![](assets/001_results_drag/input_frames/dog_1.png) 









 ![](assets/001_results_drag/input_frames/dog_0.png) 




 ![](assets/001_results_drag/real_dog_02/temp_1_20240925-170223_mode2.gif) 




 ![](assets/001_results_drag/input_frames/dog_1.png) 

2. Image Morphing with User-Interaction

Start Image

Input Trajectory & Interpolation Results

End Image

 ![](assets/002_results_morphing/input_frames/dragon1.png) 




 ![](assets/002_results_morphing/dragon12/temp_1_20240921-112645_mode2.gif) 




 ![](assets/002_results_morphing/input_frames/dragon2.png) 









 ![](assets/002_results_morphing/input_frames/dragon2.png) 




 ![](assets/002_results_morphing/dragon23/temp_1_20240921-111112_mode2.gif) 




 ![](assets/002_results_morphing/input_frames/dragon3.png) 

3. Video Interpolation without User-Input Control

Start Image

Interpolation Results

End Image

 ![](assets/003_direct_interp/input_images/mokey_0.png) 




 ![](assets/003_direct_interp/monkey_eating_interp_16-43_wocontrol.gif) 




 ![](assets/003_direct_interp/input_images/mokey_1.png) 









 ![](assets/003_direct_interp/input_images/movie_0.jpg) 




 ![](assets/003_direct_interp/laugh.gif) 




 ![](assets/003_direct_interp/input_images/movie_1.jpg) 

4. Novel View Synthesis

Start Image

Interpolation Results

End Image

 ![](assets/004_results_nvs/input_images/000001.jpg) 




 ![](assets/004_results_nvs/scan.gif) 




 ![](assets/004_results_nvs/input_images/000002.jpg) 

5. Cartoon and Sketch Interpolation

Start Image

Interpolation Results

End Image

 ![](assets/005_results_toon/input_images/74880_401.mp4_00-00.png) 




 ![](assets/005_results_toon/tooncarft_car.gif) 




 ![](assets/005_results_toon/input_images/74880_401.mp4_00-01.png) 









 ![](assets/005_results_toon/input_images/sketcg1_frame0001.png) 




 ![](assets/005_results_toon/tooncraft_sketcg1_frame0001.png_to_tooncraft_sketch1_frame0016.png.gif) 




 ![](assets/005_results_toon/input_images/sketch1_frame0016.png) 

6. Time-lapsing Video Generation.

Start Image

Interpolation Results

End Image

 ![](assets/006_results_chron/inputs/fafa1.png) 




 ![](assets/006_results_chron/fafa12.gif) 




 ![](assets/006_results_chron/inputs/fafa2.png) 

Local Inference

Installation

conda create -n framer python=3.8 -y
conda activate framer
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.6 -c pytorch -c nvidia

pip install -r requirements.txt

Prepare weights

Download pretrained Stable Video Diffusion and Framer weights and put them in ./checkpoints, as follows.

checkpoints/
|─ stable-video-diffusion-img2vid-xt
└─ framer_512x320

Run gradio locally

python app.py

Some example inputs are presented in ./examples, enjoy the interactive frame interpolation!

📖 Citation BibTeX

Please consider citing our paper if our code is useful:

@article{wang2024framer,
  title={Framer: Interactive Video Interpolation},
  author={Wang, Wen and Wang, Qiuyu and Zheng, Kecheng and Ouyang, Hao and Chen, Zhekai and Gong, Biao and Chen, Hao and Shen, Yujun and Shen, Chunhua},
  journal={arXiv preprint https://arxiv.org/abs/2410.18978},
  year={2024}
}

🎫 License

For academic use, this project is licensed under the 2-clause BSD License. For commercial use, please contact C Shen.

😉 Acknowledgements

Nearby in the ranking
Similar items