HKUDS/ViMax
Agentic video framework for turning ideas and scripts into reviewable multi-shot cuts
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
Creative teams prototyping trailers, scripted scenes, or episodic adaptations that need to review storyboards and resume projects without rebuilding shot plans.
You need only a single clip, require fully offline inference out of the box, or expect guaranteed cross-shot continuity without editorial review.
Quick Start & Installation
uv tool install vimax mkdir my-vimax-project cd my-vimax-project vimax init
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| ViMax ★ | 13.1k | +55 | Python | MIT | Agentic video framework for turning ideas and scripts into reviewable multi-shot |
| whisperX | 26.5k | +677 | Python | BSD-2-Clause | Batched Whisper with forced alignment for word timings and optional speaker labe |
| hypit | 32.4k | +731 | TypeScript | — | An SVML framework and CLI for turning video references into reusable workflows |
| diffusers | 35k | +36 | Python | Apache-2.0 | A modular PyTorch SDK for running and customizing multimodal diffusion pipelines |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/HKUDS/ViMax.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about ViMax
How should I integrate ViMax into an existing workflow?
vimax agent for interactive sessions, or start with the dedicated main_idea2video.py and main_script2video.py entrypoints if you want to run a pipeline directly. For Codex or Claude Code integration, ViMax provides a local MCP path, with main_mcp.py and an optional mcp>=2.3,<3 dependency. Test the workflow you intend to integrate before assuming that every Web UI operation is exposed through MCP.What hardware do I need on the ViMax host?
Can I self-host ViMax for commercial production?
When is ViMax a better fit than calling a video generator directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy