# Repository Briefing: HKUDS/ViMax
> Source: https://repoforai.com/repo/HKUDS/ViMax (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/HKUDS/ViMax
- **Official Docs / Website**: https://arxiv.org/abs/2606.07649
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A+ (93/100 · Maintenance 35/35 · Adoption 24/25 · Releases 14/20 · License 20/20)
- **Latest Release**: v1.2.0 (2026-07-20) — https://github.com/HKUDS/ViMax/releases
- **Review Snapshot**: 2026-12-01
- **Deployment / Stack Signals**: CLI, MCP
- **Momentum**: 13,095 ★ total (+6 24h / +55 7d) · 1,984 forks
- **Topics**: `agentic-aigc`, `video-generation`
- **When to Use**: Best for: Creative teams prototyping trailers, scripted scenes, or episodic adaptations that need to review storyboards and resume projects without rebuilding shot plans. Skip if: You need only a single clip, require fully offline inference out of the box, or expect guaranteed cross-shot continuity without editorial review.

## Overview
```text
### Architecture & Core Mechanics
ViMax is a Python orchestration framework, not a standalone video model. Its production flow turns narrative inputs into scripts or scene plans, storyboards, references, and shots, then coordinates media generation and final assembly. `main_idea2video.py` and `main_script2video.py` offer direct pipeline entrypoints. The TUI and Web UI share an Agent Loop runtime, tools, and persistent sessions for iterative work.

The source tree separates `agent_runtime/`, `agents/`, `pipelines/`, `tools/`, and `integrations/`. The dependency manifest includes LangChain, OpenAI and Google Gen AI clients, and a media stack with MoviePy, OpenCV, Pillow, and SceneDetect. LLM, image, and video endpoints are configured separately. MCP is an optional integration surface, with `main_mcp.py` and local setup for Codex and Claude Code.

### Key Capabilities & Differentiators
Idea2Video expands a concept into a structured story, characters, a script, storyboards, and shots. Script2Video starts with an existing screenplay and turns it into a multi-scene shot plan. Novel2Video compresses long-form fiction into episodic plans while tracking characters and scenes. AutoCameo uses a photo of a person or pet as an appearance reference, not as a guarantee of identity fidelity across shots.

ViMax coordinates references, first frames, and camera continuity, and can generate compatible shots and assets concurrently. The Web workspace lets users inspect intermediate artifacts and preview storyboards and renders before committing to a finished cut. Observed provider support includes GPT Image 2 via OpenRouter for images, Seedance 2.0 Fast and Google Omni for video, and MiniMax for chat. MiniMax H3 is listed on the roadmap rather than as current video support.

### Trade-offs & Limitations
Compared with calling an image or video API directly, ViMax makes shot plans and intermediate artifacts available for review and lets a team resume work within a project. That extra orchestration is useful when scenes share characters or visual references, but may be unnecessary for a one-off clip. Compared with a manual editorial workflow, it automates planning and generation steps without removing the need to review continuity, pacing, and the final cut.

Separating provider roles gives teams more choice, but adds endpoint configuration, credentials, and quota management. Parallel generation can shorten wall-clock time when providers have spare capacity, but can also concentrate request volume and spend. Size local resources around media processing, artifact storage, and concurrency rather than an assumed VRAM target. The MIT license covers ViMax itself, not provider terms, output usage rights, or consent to use reference photos.

### Hardware & Deployment Guide
ViMax requires Python 3.12 or newer. Install with `uv tool install vimax`, run `vimax init` in a project directory, configure `configs/agent.local.yaml`, and launch `vimax agent`. A source checkout can use `uv sync`. The TUI and Web UI require Node.js 18 or newer; install their dependencies with `vimax ui-install tui` or `vimax ui-install web` and launch with `vimax tui` or `vimax web`. The browser workspace defaults to `127.0.0.1:4173`, and sessions and outputs stay in the project directory.

Local hosting of the workspace is distinct from offline inference: the API-backed path needs reachable model endpoints and credentials. Protect keys and project folders, and validate authentication and access controls before exposing the local Web service beyond loopback. The June 28 stability update improved retries, render status persistence, and Script2Video resume; v1.2.0 added named projects and browser-based artifact, storyboard, and render review on the same runtime.
```

## Key Capabilities
```text
- Entry points: Idea and screenplay pipelines can run directly; Agent Loop adds interactive planning, revisions, and session resume.
- Narrative adaptation: Novel2Video compresses long-form fiction into episodic plans while tracking characters and scenes.
- Continuity controls: Reference images, first frames, and camera continuity are coordinated across shots; AutoCameo takes a person or pet reference photo.
- Scheduling: Compatible shots and media assets can generate concurrently, with actual throughput constrained by provider limits.
- Project review: The v1.2.0 Web UI adds named projects, structured artifact browsing, storyboard previews, and render checkpoints.
- Integration: Separate LLM, image, and video configuration blocks; optional MCP integration for Codex and Claude Code.
```

## Quick Start / Clone
```bash
uv tool install vimax
mkdir my-vimax-project
cd my-vimax-project
vimax init
```
