FoundationVision/FlashVideo
소개
[AAAI-2026]FlashVideo: 세부 묘사의 흐름과 충실도를 높여 고해상도 동영상을 효율적으로 생성
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
FlashVideo: Flowing Fidelity to Detail for Efficient High-Resolution Video Generation
Shilong Zhang, Wenbo Li, Shoufa Chen, Chongjian Ge, Peize Sun,
Yida Zhang, Yi Jiang, Zehuan Yuan, Bingyue Peng, Ping Luo,
HKU, CUHK, ByteDance
🤗 More video examples 👀 can be accessed at the 
⚡⚡ User Prompt to 270p, NFE = 50, Takes ~30s ⚡⚡
⚡⚡ 270p to 1080p , NFE = 4, Takes ~72s ⚡⚡
🔥 Update
- [2025.02.10] 🔥 🔥 🔥 Inference code and both stage model weights have been released.
🌿 Introduction
In this repository, we provide:
- The stage-I weight for 270P video generation.
- The stage-II for enhancing 270P video to 1080P.
- Inference code of both stages.
- Training code and related augmentation. Work in process PR#12
- Loss function
- Dataset and augmentation
- Configuration and training script
- Implementation with diffusers.
- Gradio.
Install
1. Environment Setup
This repository is tested with PyTorch 2.4.0+cu121 and Python 3.11.11. You can install the necessary dependencies using the following command:
pip install -r requirements.txt
2. Preparing the Checkpoints
To get the 3D VAE (identical to CogVideoX), along with Stage-I and Stage-II weights, set them up as follows:
cd FlashVideo
mkdir -p ./checkpoints
huggingface-cli download --local-dir ./checkpoints FoundationVision/FlashVideo
The checkpoints should be organized as shown below:
├── 3d-vae.pt
├── stage1.pt
└── stage2.pt
🚀 Text to Video Generation
⚠️ IMPORTANT NOTICE ⚠️ : Both stage-I and stage-II are trained with long prompts only. For achieving the best results, include comprehensive and detailed descriptions in your prompts, akin to the example provided in example.txt.
Jupyter Notebook
You can conveniently provide user prompts in our Jupyter notebook. The default configuration for spatial and temporal slices in the VAE Decoder is tailored for an 80G GPU. For GPUs with less memory, one might consider increasing the spatial and temporal slice.
flashvideo/demo.ipynb
Inferring from a Text File Containing Prompts
You can conveniently provide the user prompt in a text file and generate videos with multiple gpus.
bash inf_270_1080p.sh
License
This project is developed based on CogVideoX. Please refer to their original license for usage details.
BibTeX
@article{zhang2025flashvideo,
title={FlashVideo: Flowing Fidelity to Detail for Efficient High-Resolution Video Generation},
author={Zhang, Shilong and Li, Wenbo and Chen, Shoufa and Ge, Chongjian and Sun, Peize and Zhang, Yida and Jiang, Yi and Yuan, Zehuan and Peng, Binyue and Luo, Ping},
journal={arXiv preprint arXiv:2502.05179},
year={2025}
}
관련 프로젝트 살펴보기
불러오는 중…