Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://ailab-cvc.github.io/videocrafter/
VideoCrafter2: Overcoming Data Limitations for High-Quality Video Diffusion Models
https://ailab-cvc.github.io/videocrafter/
image-to-video text-to-video video-generation
Last synced: 5 days ago
JSON representation
VideoCrafter2: Overcoming Data Limitations for High-Quality Video Diffusion Models
- Host: GitHub
- URL: https://ailab-cvc.github.io/videocrafter/
- Owner: AILab-CVC
- License: other
- Created: 2023-04-03T09:27:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-10T08:30:45.000Z (4 months ago)
- Last Synced: 2024-10-29T15:10:15.504Z (6 days ago)
- Topics: image-to-video, text-to-video, video-generation
- Language: Python
- Homepage: https://ailab-cvc.github.io/videocrafter2/
- Size: 172 MB
- Stars: 4,537
- Watchers: 71
- Forks: 337
- Open Issues: 66
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
- awesome-diffusion-categorized - [Project
README
## ___***VideoCrafter2: Overcoming Data Limitations for High-Quality Video Diffusion Models***___
[![Discord](https://dcbadge.vercel.app/api/server/rrayYqZ4tf?style=flat)](https://discord.gg/rrayYqZ4tf)
[![GitHub](https://img.shields.io/github/stars/VideoCrafter/VideoCrafter?style=social)](https://github.com/VideoCrafter/VideoCrafter)### π₯π₯ Our dedicated high-resolution I2V model is released at: :point_right:[DynamiCrafter](https://github.com/Doubiiu/DynamiCrafter)!!!
[![](https://img.youtube.com/vi/0NfmIsNAg-g/0.jpg)](https://www.youtube.com/watch?v=0NfmIsNAg-g)
### π₯The VideoCrafter2 Large improvements over VideoCrafter1 with limited data. Better Motion, Better Concept Combination!!!
Please Join us and create your own film on [Discord/Floor33](https://discord.gg/rrayYqZ4tf).
##### π₯ Exquisite film, produced by VideoCrafter2, directed by Human
[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/TUsFkW0tK-s/0.jpg)](https://www.youtube.com/watch?v=TUsFkW0tK-s)
## π Introductionπ€π€π€ VideoCrafter is an open-source video generation and editing toolbox for crafting video content.
It currently includes the Text2Video and Image2Video models:### 1. Generic Text-to-video Generation
Click the GIF to access the high-resolution video.
"Tom Cruise's face reflects focus, his eyes filled with purpose and drive."
"A child excitedly swings on a rusty swing set, laughter filling the air."
"A young woman with glasses is jogging in the park wearing a pink headband."
"With the style of van gogh, A young couple dances under the moonlight by the lake."
"A rabbit, low-poly game art style"
"Impressionist style, a yellow rubber duck floating on the wave on the sunset"
### 2. Generic Image-to-video Generation
"a black swan swims on the pond"
"a girl is riding a horse fast on grassland"
"a boy sits on a chair facing the sea"
"two galleons moving in the wind at sunset":boom: **You are highly recommended to try our dedicated I2V model [DynamiCrafter](https://github.com/Doubiiu/DynamiCrafter): Higher resolution, Better Dynamics, More Coherence!!!**
---
## π Changelog
- __[2024.02.05]__: π₯π₯ Release new I2V model with the resolution of 640x1024 of VideoCrafter1/DynamiCrafter.- __[2024.01.26]__: Release the 512x320 checkpoint of VideoCrafter2.
- __[2024.01.18]__: Release the [VideoCrafter2](https://ailab-cvc.github.io/videocrafter2/) and [Tech Report](https://arxiv.org/abs/2401.09047)!
- __[2023.10.30]__: Release [VideoCrafter1](https://arxiv.org/abs/2310.19512) Technical Report!
- __[2023.10.13]__: Release the VideoCrafter1, High Quality Video Generation!
- __[2023.08.14]__: Release a new version of VideoCrafter on [Discord/Floor33](https://discord.gg/uHaQuThT). Please join us to create your own film!
- __[2023.04.18]__: Release a VideoControl model with most of the watermarks removed!
- __[2023.04.05]__: Release pretrained Text-to-Video models, VideoLora models, and inference code.
## β³ Models
|T2V-Models|Resolution|Checkpoints|
|:---------|:---------|:--------|
|VideoCrafter2|320x512|[Hugging Face](https://huggingface.co/VideoCrafter/VideoCrafter2/blob/main/model.ckpt)
|VideoCrafter1|576x1024|[Hugging Face](https://huggingface.co/VideoCrafter/Text2Video-1024/blob/main/model.ckpt)
|VideoCrafter1|320x512|[Hugging Face](https://huggingface.co/VideoCrafter/Text2Video-512/blob/main/model.ckpt)|I2V-Models|Resolution|Checkpoints|
|:---------|:---------|:--------|
|VideoCrafter1|640x1024|[Hugging Face](https://huggingface.co/Doubiiu/DynamiCrafter_1024/blob/main/model.ckpt)
|VideoCrafter1|320x512|[Hugging Face](https://huggingface.co/VideoCrafter/Image2Video-512/blob/main/model.ckpt)## βοΈ Setup
### 1. Install Environment via Anaconda (Recommended)
```bash
conda create -n videocrafter python=3.8.5
conda activate videocrafter
pip install -r requirements.txt
```## π« Inference
### 1. Text-to-Video1) Download pretrained T2V models via [Hugging Face](https://huggingface.co/VideoCrafter/VideoCrafter2/blob/main/model.ckpt), and put the `model.ckpt` in `checkpoints/base_512_v2/model.ckpt`.
2) Input the following commands in terminal.
```bash
sh scripts/run_text2video.sh
```### 2. Image-to-Video
1) Download pretrained I2V models via [Hugging Face](https://huggingface.co/VideoCrafter/Image2Video-512-v1.0/blob/main/model.ckpt), and put the `model.ckpt` in `checkpoints/i2v_512_v1/model.ckpt`.
2) Input the following commands in terminal.
```bash
sh scripts/run_image2video.sh
```### 3. Local Gradio demo
1. Download the pretrained T2V and I2V models and put them in the corresponding directory according to the previous guidelines.
2. Input the following commands in terminal.
```bash
python gradio_app.py
```---
## π Techinical Report
π VideoCrafter2 Tech report: [VideoCrafter2: Overcoming Data Limitations for High-Quality Video Diffusion Models](https://arxiv.org/abs/2401.09047)π VideoCrafter1 Tech report: [VideoCrafter1: Open Diffusion Models for High-Quality Video Generation](https://arxiv.org/abs/2310.19512)
## π Citation
The technical report is currently unavailable as it is still in preparation. You can cite the paper of our image-to-video model and related base model.
```
@misc{chen2024videocrafter2,
title={VideoCrafter2: Overcoming Data Limitations for High-Quality Video Diffusion Models},
author={Haoxin Chen and Yong Zhang and Xiaodong Cun and Menghan Xia and Xintao Wang and Chao Weng and Ying Shan},
year={2024},
eprint={2401.09047},
archivePrefix={arXiv},
primaryClass={cs.CV}
}@misc{chen2023videocrafter1,
title={VideoCrafter1: Open Diffusion Models for High-Quality Video Generation},
author={Haoxin Chen and Menghan Xia and Yingqing He and Yong Zhang and Xiaodong Cun and Shaoshu Yang and Jinbo Xing and Yaofang Liu and Qifeng Chen and Xintao Wang and Chao Weng and Ying Shan},
year={2023},
eprint={2310.19512},
archivePrefix={arXiv},
primaryClass={cs.CV}
}@article{xing2023dynamicrafter,
title={DynamiCrafter: Animating Open-domain Images with Video Diffusion Priors},
author={Jinbo Xing and Menghan Xia and Yong Zhang and Haoxin Chen and Xintao Wang and Tien-Tsin Wong and Ying Shan},
year={2023},
eprint={2310.12190},
archivePrefix={arXiv},
primaryClass={cs.CV}
}@article{he2022lvdm,
title={Latent Video Diffusion Models for High-Fidelity Long Video Generation},
author={Yingqing He and Tianyu Yang and Yong Zhang and Ying Shan and Qifeng Chen},
year={2022},
eprint={2211.13221},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
```## π€ Acknowledgements
Our codebase builds on [Stable Diffusion](https://github.com/Stability-AI/stablediffusion).
Thanks the authors for sharing their awesome codebases!## π’ Disclaimer
We develop this repository for RESEARCH purposes, so it can only be used for personal/research/non-commercial purposes.
****