Fine-tuned on 10 million videos for exceptional image-to-video generation quality.
Performance benchmarked to match SBS standards at CogVideoX-5B i2v level.
python -m inference.cli_demo \
--video_path "resources/truck.jpg" \
--prompt "A truck is driving through a dirt road, showcasing its capability for off-roading." \
--model_path NimVideo/cogvideox-2b-img2vid
python -m inference.gradio_web_demo \
--model_path NimVideo/cogvideox-2b-img2vid
1️⃣ Clone the Repository
git clone https://github.com/Nim-Video/cogvideox-2b-img2vid.git
cd cogvideox-2b-img2vid
2️⃣ Set up a Virtual Environment
python -m venv venv
source venv/bin/activate
3️⃣ Install Requirements
pip install -r requirements.txt
This project builds on the foundational work of CogVideoX.
text_encoder/model-00001-of-00002.safetensors 4.7 GiBtext_encoder/model-00002-of-00002.safetensors 4.2 GiBtransformer/diffusion_pytorch_model.safetensors 3.2 GiBvae/diffusion_pytorch_model.safetensors 411 MiB