Rust in Everything
← Papers

Coda-DaVinci: Reimagining Video Generation with Code2Video

Yiyan Ji, Qixun Wang, Yang Shi, Zhuoran Zhang, Yifan Xu, Tengfei Liu et al.

2026-11-20▲ 32arXiv 2611.26595v1Hugging FaceCode

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

Coda-DaVinci is a task-adaptive Code2Video agent framework that selects proxy-guided or direct generation, adapts proxy granularity by entity, and uses physics simulation plus proxy-grounded prompting to improve instruction following, consistency, and physical plausibility.

Problem

Code2Video uses agent-authored 3D proxies to guide video generation, but how to construct proxies and prompts for optimal downstream quality remains underexplored, as do the paradigm's capabilities and limitations. The benefits depend on task and proxy construction: detailed modeling can introduce errors, imperfect proxies may reduce naturalness, and physical interactions require choosing scripted motion or simulation. The synthesis prompt must align intended appearance and fine actions with the rendered proxy.

Method

The authors run controlled comparisons with blinded human evaluation on scene revisitation, complex motion, and physical processes, varying proxy granularity G0/G1/G2, physics P0/P1, and prompt enhancement PE0/PE1/PE2. They introduce Coda-DaVinci, which routes tasks to 3D modeling when precise scene or motion control is needed and to direct generation for natural body movement when explicit control is unnecessary. For modeled scenes it uses medium-grained proxies for environments and structured objects, coarse proxies for human subjects, and Blender simulation for supported physical interactions. A lead agent coordinates construction, can delegate modeling to subagents, inspects rendered proxies, writes proxy-grounded synthesis prompts, and preserves a shared scene workspace. An independent acceptance agent reviews candidates against registered criteria and returns unmet requirements for repair, with up to three repairs per interaction.

Results

  • On VTR, Coda-DaVinci reduces WER from 59.21% for direct generation to 11.08%. §5.2
  • G1/P1/PE2 achieves the highest four-metric mean across the three benchmarks, with average consistency, instruction following, physical plausibility, and naturalness and visual realism of 2.926, 2.968, 2.436, and 2.213. §3.3
  • Physics simulation P1 improves the four-metric mean in every tested P0/P1 comparison; the largest mean gain is +0.165 under G1/PE2, with +0.223 in physical plausibility. §3.3
  • At fixed G1, PE2 outperforms PE1 in all four metrics under both physics settings, with mean gains of +0.221 under P0 and +0.255 under P1. §3.3
  • Blender scores higher than Three.js on all four dimensions while consuming roughly twice as many agent tokens per case; both modeling engines improve overall quality over direct generation. §5.3
  • On LongAV-Compass and WBench, Coda-DaVinci improves event fulfillment, long-form structure, interaction adherence, and consistency over direct generation, but direct generation performs better in transition stability and setting adherence. §5.4

Limitations

  • Long-video evaluations show lower transition stability on LongAV-Compass and lower setting adherence on WBench than direct generation (§5.4).
  • On VGIF-Bench, complex human and object motion still shows weaknesses in physical plausibility, naturalness, and realism (§3.3).
  • Coda-DaVinci ranks second to Claude + Blender on World Models’ Last Exam in Physics, leaving a physical-fidelity gap (§5.2).

Key points

  • Code2Video formulates proxy construction by a coding agent and final synthesis by a video model conditioned on the proxy and generation prompt. §3.1
  • The analysis varies proxy granularity G0/G1/G2, physics P0/P1, and prompt enhancement PE0/PE1/PE2, with Seedance 2.5 as the direct-generation baseline. §3.2
  • With PE0 fixed, coarse G0 favors physical plausibility and naturalness on VGIF-Bench, while medium G1 achieves highest or tied-highest consistency under P1. §3.3
  • G2 never exceeds G1 in naturalness and realism across benchmarks and physics settings. §3.3
  • P1 improves the four-metric mean and naturalness and realism across tested P0/P1 comparisons; physical plausibility and instruction following improve or remain unchanged, while consistency changes in both directions. §3.3
  • With G1 fixed, PE2 beats PE1 in all four metrics under both physics settings; under P1 PE2 also improves the mean over PE0. §3.3
  • Coda-DaVinci routes to 3D modeling for precise control and to direct generation for natural body movement; modeled scenes use G1 for environments and structured objects and G0 for humans. §4.1
  • The harness preserves a shared Blender workspace, supports visual inspection of proxy and generated frames, and uses an independent acceptance agent for repair. §4.3

Mind map

Coda-DaVinci
Empirical analysis
Proxy granularity G0 G1 G2
Physics simulation P0 P1
Prompt enhancement PE0 PE1 PE2
Best config G1 P1 PE2
Method
Task-adaptive routing
Entity-wise granularity
Proxy-grounded synthesis
Harness and visual feedback
Independent acceptance
Experiments
Benchmarks
Last Exam R2M VTR T2AV
Main results
VTR WER 11.08
R2M scene consistency
T2AV realism
Ablations
Coding agents
Routing review granularity
Blender vs Three.js
Long-video study
LongAV-Compass
WBench
Limitations
Transition stability
Setting adherence
Motion naturalness
Physical fidelity gap