Microsoft Open-Sources Code Video Model: Code-Driven Previs for Controllable Video Generation
Microsoft Research released and open-sourced Code Video Model, bringing film-industry previs (previsualization) into AI video generation: given a prompt, a coding agent (GPT-6 in the paper) writes an executable Three.js program that stages the scene, places cameras and computes motion via equations, rendering a proxy video as a viewable, editable intermediate artifact that a video diffusion model turns into the final footage. Paper, code and data are all open-sourced.
Confirmed
- Released and open-sourced by Microsoft Research, with paper, code and data all public
- The core pipeline is code-first: the coding agent writes a Three.js program to build the scene, place objects and cameras, and compute physical motion with equations before the video model generates the final clip
- The approach achieves controllable video generation without additional training
- It targets the difficulty of precisely controlling camera motion and physical laws in AI video
Why it matters
- Instead of letting video diffusion models "imagine" physics in a black box, Code Video Model encodes physical laws explicitly in code, improving controllability and physical accuracy
- Borrowing film-industry previs, it adds a human-viewable, human-editable intermediate step to the generation pipeline, easing iteration
- Fully open-sourcing the paper, code and data lowers the barrier for reproduction and follow-up research
2026-10-12 ~ 2026-10-14 · 5 related posts
Primary sources
- Code Video Model uses code as the engine for controllable, physics-grounded video generation — angrypenguinPNG · 2026-10-12
- Microsoft open-sources Code Video Model: code first, pixels later for controllable video gen — xiaohu · 2026-10-13
- Code Video Model: coding agent writes Three.js previs, frozen video model renders the final shot — lmoroney · 2026-10-14