Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Linux
Code Video Model Official Repo
Saved setup from 15 h ago
Will it work on Linux?
Heads-upIt also needs 1 setting in .env (1 secret).
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
git clone https://github.com/code-video-model/CodeVideoModel.git cd CodeVideoModel
Python 3.x (no version pinned)
sudo apt install python3 python3-venv # Debian/Ubuntu
Fill in secrets: OPENROUTER_API_KEY
cp .env.example .env
python -m venv .venv source .venv/bin/activate pip install -r requirements.txt
Each demo bundles a prompt, a reference image, and a Three.js video, ready for direct generation with MiniMax-H3.
| Example | Directory under examples/ |
|---|---|
| Sports Car | sports_car |
| Tank Boarding | tank_boarding |
| Loft Tour | loft_tour |
| Robot Navigation | robot_navigation |
Set example to any directory name above:
example=tank_boarding
python -m inference.generate_video \
--code-video "examples/${example}/code_video.mp4" \
--reference-image "examples/${example}/reference.png" \
--prompt-file "examples/${example}/prompt.txt" \
--model-root models/MiniMax-H3-ref2va \
--keep-steps 5 \
--output "outputs/${example}.mp4"
No reports for Linux yet.
GitManual AI Agent reads the 3 key files and writes a step-by-step guide for Linux. Once written, it's saved for everyone.