Code2Video-Compass: A Comprehensive Benchmark for General-Purpose Code-Based Video Generation across T2V, I2V, and V2V

Zhenghan Chen, Zekai Shao, Xin Lin, Leting Cheng, Siming Chen

Fudan University · Sun Yat-sen University

Published October 20, 2026 · on the feed October 23, 2026 · ▲ 45 · arXiv 2610.28416

VideoVision & multimodalEvaluation & judging Code arXiv ↗Hugging Face ↗Dataset ↗

The abstract

Code-based video generation offers fine-grained control, targeted editing, and component reuse compared with direct video generation. This approach requires multimodal large language models (MLLMs) to translate visual and temporal requirements into executable programs that produce complete videos. However, existing code-based benchmarks primarily target specialized tasks, leaving complete video creation across diverse creative categories and input modalities insufficiently evaluated. We introduce Code2Video-Compass, a general-purpose benchmark for code-based video generation across text-to-video (T2V), image-to-video (I2V), and video-to-video (V2V) settings. Code2Video-Compass comprises 2,104 tasks spanning 10 categories, 24 subtypes, and three complexity dimensions covering construction, dynamic animation, and state dependency. It combines tasks curated from textual instructions and visual references with corresponding T2V, I2V, and V2V tasks derived from complete professional and user-created videos. We propose a dual-level evaluation framework combining 12 objective metrics and five subjective metrics. Objective evaluation covers operational performance, video quality, text-video alignment, and reference fidelity, while subjective evaluation uses an MLLM judge to evaluate instruction following and holistic video quality. Extensive evaluation of 15 recent proprietary and open-weight MLLMs from nine families reveals that even leading models face challenges in reliably generating high-quality complete videos aligned with textual and visual requirements, with performance generally declining as construction, dynamic animation, and state-dependency complexity increases. We anticipate that Code2Video-Compass will advance reliable, coherent, and controllable code-based video generation and inspire broader progress in programmatic visual creation.

The Brief

2:53

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Code2Video-Compass. A Comprehensive Benchmark for General-Purpose Code-Based Video Generation across T2V, I2V, and V2V. By Zhenghan Chen and four others, from Fudan University and Sun Yat-sen University. Published on the twentieth of October. Its code repository is public and real: seventeen source files.

There are two ways to get a video out of a model. One is to generate the pixels directly. The other is to have the model write a program, and let the program produce the video. The second route offers fine-grained control, targeted editing, and the reuse of components, but it asks a lot of the model. A multimodal large language model has to translate visual and temporal requirements into executable code that yields a complete video. The benchmarks that exist for this mostly target specialized tasks. Complete video creation, across diverse creative categories and across different kinds of input, has been left insufficiently evaluated.

Code2Video-Compass is built to fill that gap, and it covers three input settings. Text-to-video starts from a written instruction. Image-to-video starts from a picture. Video-to-video starts from an existing clip. What gets measured is whether a model, given any of these, can write the program that produces the video it was asked for.

The benchmark holds two thousand one hundred and four tasks. They span ten categories and twenty-four subtypes, and they are organised along three dimensions of complexity: construction, dynamic animation, and state dependency. Some tasks are curated from textual instructions and visual references. Others are derived from complete videos, both professional and user-created, turned into matching text, image and video tasks.

Scoring works at two levels. On the objective side there are twelve metrics, covering operational performance, video quality, text-video alignment, and fidelity to the reference. On the subjective side there are five more, where an MLLM judge assesses instruction following and the holistic quality of the video.

The evaluation covers fifteen recent models, proprietary and open-weight, drawn from nine families. Even the leading ones struggle to reliably generate high-quality complete videos that match both the textual and the visual requirements. The trend is consistent along the complexity axes: as construction, dynamic animation and state dependency grow harder, performance generally declines. The benchmark's own structure is what makes that visible, since each axis can be raised on its own.

The authors hope the benchmark will push code-based video generation toward being reliable, coherent and controllable, and encourage wider progress in programmatic visual creation. Its contribution is a common yardstick for an approach whose appeal is control. Writing a program for a video promises precise editing and reuse, and Code2Video-Compass measures how far today's models are from delivering a whole video that way, and where along the three axes of difficulty they begin to fall short.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.