Video-Coder adds moving 3D scenes built with code to video generation
Video-Coder guides video generators with moving 3D drafts built using Blender code, improving object layout and physical consistency.
Video-Coder: Reinforcing Agentic Coding for Video Generation — arXiv:2611.09894
When will it reach products?
3–6 mo — Over the next three months, this idea may appear in experimental creative tools that first create an editable scene draft, then generate a video. Early use is likely to offer more control over object layout and motion, rather than generate a video in a single step.
What happened?
Rather than generating a video directly, Video-Coder first writes code to build a moving 3D scene. This simple draft shows the video-generation system the objects’ positions and motion, as well as the camera setup. The system inspects errors in the code it runs and the resulting images, then revises its draft.
Why it matters
In advertising, product promotion, and educational animation, correct object counts and consistent motion matter as much as attractive visuals. This approach could add a more editable scene plan to creative tools. Separating motion from appearance could make it easier to use the same layout with different visual styles. However, these potential workflow benefits need to be measured in production.
Technical summary
Video-Coder trains a multimodal coding agent based on Qwen3.5-9B to program Blender scenes. The harness combines code execution, 3D scene rendering, and error or image feedback. Training proceeds through supervised fine-tuning, followed by agentic reinforcement learning. Training rewards both code execution and alignment of the final video with the target; the weight of the execution reward is gradually reduced over time. The final video generator is held fixed, and only the agent that creates the draft is trained.
Contribution
The central contribution is to make control over structure and motion in video generation a training objective for an agent that produces executable scene programs and revises them based on feedback. The paper presents a data-generation pipeline, an integrated harness, and a training schedule that rebalances two rewards over time. The authors’ claim of being the first should be read as referring to training a multimodal coding agent for this purpose, not to code-based video generation as a whole.