Back to rankings

AILab-CVC/VideoCrafter

Pythonailab-cvc.github.io/videocrafter2/

VideoCrafter2: Overcoming Data Limitations for High-Quality Video Diffusion Models

image-to-videotext-to-videovideo-generation
Star Growth
Stars
5.1k
Forks
415
Weekly Growth
โ€”
Issues
72
2k3k4k5k
Apr 2023May 2024Jun 2025Jul 2026
ArtifactsPyPIpip install videocrafter
README

VideoCrafter2: Overcoming Data Limitations for High-Quality Video Diffusion Models

Discord GitHub

๐Ÿ”ฅ๐Ÿ”ฅ Our dedicated high-resolution I2V model is released at: :point_right:DynamiCrafter!!!

๐Ÿ”ฅ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.

๐ŸŽฅ Exquisite film, produced by VideoCrafter2, directed by Human

IMAGE ALT TEXT HERE

๐Ÿ”† 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: 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 and Tech Report!

  • [2023.10.30]: Release VideoCrafter1 Technical Report!

  • [2023.10.13]: Release the VideoCrafter1, High Quality Video Generation!

  • [2023.08.14]: Release a new version of VideoCrafter on Discord/Floor33. 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
VideoCrafter1 576x1024 Hugging Face
VideoCrafter1 320x512 Hugging Face
I2V-Models Resolution Checkpoints
VideoCrafter1 640x1024 Hugging Face
VideoCrafter1 320x512 Hugging Face

โš™๏ธ Setup

conda create -n videocrafter python=3.8.5
conda activate videocrafter
pip install -r requirements.txt

๐Ÿ’ซ Inference

1. Text-to-Video

  1. Download pretrained T2V models via Hugging Face, and put the model.ckpt in checkpoints/base_512_v2/model.ckpt.
  2. Input the following commands in terminal.
  sh scripts/run_text2video.sh

2. Image-to-Video

  1. Download pretrained I2V models via Hugging Face, and put the model.ckpt in checkpoints/i2v_512_v1/model.ckpt.
  2. Input the following commands in terminal.
  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.
  python gradio_app.py

๐Ÿ“‹ Technical Report

๐Ÿ˜‰ VideoCrafter2 Tech report: VideoCrafter2: Overcoming Data Limitations for High-Quality Video Diffusion Models

๐Ÿ˜‰ VideoCrafter1 Tech report: VideoCrafter1: Open Diffusion Models for High-Quality Video Generation

๐Ÿ˜‰ 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. 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.


Related repositories
Anil-matcha/Open-Generative-AI

Unrestricted Open-source alternative to AI video platforms โ€” Free AI image & video generation studio with 200+ models (Flux, Midjourney, Kling, Sora, Veo). No content filters. Self-hosted, MIT licensed.

JavaScriptnpmMIT Licenseai-image-generationai-video-generation
muapi.ai/open-generative-ai
24.2k4.2k
zai-org/CogVideo

text and image to video generation: CogVideoX (2024) and CogVideo (ICLR 2023)

PythonPyPIApache License 2.0llmsora
12.9k1.3k
THUDM/CogVideo

text and image to video generation: CogVideoX (2024) and CogVideo (ICLR 2023)

PythonPyPIApache License 2.0llmsora
10.9k1k
Lightricks/LTX-Video

Official repository for LTX-Video

PythonPyPIApache License 2.0diffusion-modelsdit
ltx.io/model
10.7k1.1k
Tencent-Hunyuan/HunyuanVideo-1.5

HunyuanVideo-1.5: A leading lightweight video generation model

PythonPyPIOtherimage-to-videotext-to-video
hunyuan.tencent.com/video/zh
4.5k236
Robbyant/lingbot-world

Advancing Open-source World Models

PythonPyPIApache License 2.0image-to-videovideo-generation
technology.robbyant.com/lingbot-world
4.3k388
Lightricks/ComfyUI-LTXVideo

LTX-Video Support for ComfyUI

PythonPyPIOthercomfyuidiffusion-models
ltx.io/model/ltx-2
4k465
ArcReel/ArcReel

AI Agent ้ฉฑๅŠจ็š„ๅผ€ๆบ่ง†้ข‘็”Ÿๆˆๅทฅไฝœๅฐ โ€” ๅฐ่ฏดโ†’่ง’่‰ฒ/ๅœบๆ™ฏ/้“ๅ…ท่ฎพ่ฎกโ†’ๅ‰งๆœฌโ†’ๅˆ†้•œๅ›พโ†’่ง†้ข‘๏ผŒ่ทจ้•œๅคด่ง’่‰ฒไธŽๅœบๆ™ฏไธ€่‡ด | Open-source AI video workspace powered by AI Agents, Nano Banana 2 & Veo 3.1 / Grok / Seedance / OpenAI

PythonPyPIGNU Affero General Public License v3.0claude-agent-sdkdocker
arc-reel.com
3.5k709
Doubiiu/DynamiCrafter

[ECCV 2024, Oral] DynamiCrafter: Animating Open-domain Images with Video Diffusion Priors

PythonPyPIApache License 2.0image-animationimage-to-video
doubiiu.github.io/projects/DynamiCrafter/
3k244
PKU-YuanGroup/Helios

Helios: Real Real-Time Long Video Generation Model

PythonPyPIApache License 2.0accelerationdiffusion
pku-yuangroup.github.io/Helios-Page
2k158
Tencent-Hunyuan/HunyuanVideo-I2V

HunyuanVideo-I2V: A Customizable Image-to-Video Model based on HunyuanVideo

PythonPyPIOtherdiffusion-modelsimage-to-video
video.hunyuan.tencent.com
1.8k193
dramaclaw/dramaclaw

A general-purpose AIGC video engine: script to finished film in one pipeline โ€” dramas, ads, product videos, otome games, and more. | ้€š็”จ AIGC ่ง†้ข‘ๅผ•ๆ“Ž โ€”โ€” ไปŽๅ‰งๆœฌๅˆฐๆˆ็‰‡ไธ€ๆกๆตๆฐด็บฟ๏ผŒๆผซๅ‰งใ€ๅนฟๅ‘Šใ€็”ตๅ•†ใ€ไน™ๆธธ็š†ๅฏ

TypeScriptnpmOtherai-agentai-filmmaking
dramaclaw.ai
1.7k150