Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1.83 KB

README.md

File metadata and controls

45 lines (27 loc) · 1.83 KB

FramePainter

Official pytorch implementation of "FramePainter: Endowing Interactive Image Editing with Video Diffusion Priors"

arXivHuggingFacevisitors

Demo

default.mp4

News

Gallery

FramePainter allows users to manipulate images through intuitive sketches. Benefiting from powerful video diffusion priors, it not only enables intuitive and plausible edits in common scenarios, but also exhibits exceptional generalization in out-of-domain cases, e.g., transform the fish into shark-like shape.

Setup

1. Download Weights

Download pre-trained weights of FramePainter into checkpoints/ directory, including finetuned U-Net and sparse control encoder. The app.py will automatically download stabilityai/stable-video-diffusion-img2vid-xt-1-1 during inference.

2. Requirements

conda create -n framepainter python=3.10
conda activate framepainter
pip install -r requirements.txt

3. Inference

Directly run python app.py.

Acknowledgement

This repository borrows code from Diffusers and ControlNext. Thanks for their contributions!