ViMax turns an idea (Idea2Video), a screenplay (Script2Video), or a novel (Novel2Video) into a multi-shot video. It plans the story and storyboard first, then carries character references and keyframes across cuts so people and places stay recognizable. Independent shots can render in parallel before ViMax assembles the final sequence. With the ViMax plugin, your own agent can draft a script with ViMax, review the storyboard with you, and render once you approve.
vimax_demo.mp4
- 2026-12-06 🎬 Added MiniMax H3 Max for text-to-video and image-to-video generation, with optional first and last keyframes.
- 2026-07-20 🚀 ViMax v1.2.0 introduces the Web UI with named projects, Agent Loop conversations, artifact and storyboard previews, render checkpoints, file uploads, provider settings, and dark mode.
- 2026-07-17 🎬 OpenRouter GPT Image 2 image generation and Seedance 2.0 Fast video generation support added.
- 2026-06-28 🛠️ Agent Loop and TUI stability update: stronger LLM retries, persistent render status, landscape image guards, and Script2Video resume fixes.
- 2026-06-09 📄 Technical report released.
- 2026-06-08 🤖 Agents Loop + TUI workflow integrated for interactive planning, revision, rendering control, session reuse, and context compaction.
- 2026-06-07 📖 Novel2Video workflow released.
- 2026-06-01 🎬 Google Omni video generator support added.
- 2026-03-23 ⚡ MiniMax chat model provider support added.
f1.mp4 |
underwater.mp4 |
otter.mp4 |
carrier.mp4 |
vampire.mp4 |
skydiving.mp4 |
tree.mp4 |
cameo_skycastle.mp4 |
cameo_cat.mp4 |
Chat with ViMax, inspect project artifacts, browse storyboards shot by shot, and track rendering in the browser.
Install ViMax from PyPI with uv and Python 3.12 or newer (Linux or Windows):
uv tool install vimax
mkdir my-vimax-project
cd my-vimax-project
vimax initFollow the model configuration guide to set up configs/agent.local.yaml, then run vimax agent in the project directory. Sessions and generated files stay in that directory.
For Codex or Claude Code, see the MCP and plugin setup guide.
Model configuration and keyframe selection
See the configuration template for all fields. To keep keys outside the file, set VIMAX_LLM_API_KEY, VIMAX_IMAGE_API_KEY, and VIMAX_VIDEO_API_KEY.
By default, ViMax generates two candidate images per keyframe in parallel and uses a vision-capable chat model to select one. Set num_candidates to 1 for one image per keyframe without selection.
image_selection:
num_candidates: 2Use the terminal or browser interface
Both interfaces share the project's configuration and sessions. With Node.js 18 or newer, install the interface you want once per workspace and ViMax version.
Terminal
vimax ui-install tui
vimax tuiUse vimax tui new to start another session, or vimax tui resume <session_id> to reopen one.
Browser
vimax ui-install web
vimax webOpen 127.0.0.1:4173. The server listens on the loopback interface by default. To access a remote workspace, run this on your local computer:
ssh -N -L 4173:127.0.0.1:4173 <user>@<server>Set VIMAX_WEB_PORT to change the server port.
Run from source or use a pipeline directly
git clone https://github.com/HKUDS/ViMax.git
cd ViMax
uv sync
cp -n configs/agent.example.yaml configs/agent.local.yamlAfter configuring your providers, run uv run python main_agent.py. For the TUI, run npm --prefix ui ci then ./vimax tui; for the Web UI, run npm --prefix web ci then ./vimax web.
To run a pipeline without an agent session, configure its providers in the matching YAML file and edit the input, user_requirement, and style in the entry script:
| Pipeline | Input | Configuration | Run |
|---|---|---|---|
| Idea2Video | idea |
idea2video.yaml | uv run python main_idea2video.py |
| Script2Video | script |
script2video.yaml | uv run python main_script2video.py |
If you find ViMax helpful, please consider citing our technical report:
@misc{huang2026vimaxagenticvideogeneration,
title = {{ViMax}: Agentic Video Generation},
author = {Lingxuan Huang and Sizhe He and Hengji Zhou and Liqiang Nie and Lianghao Xia and Chao Huang},
year = {2026},
eprint = {2606.07649},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2606.07649}
}