Benchmark · Code-based video reconstruction & editing

ReelCodeBenchCan Frontier LLMs Edit What They Rebuild?

Hohin Kwan1 Hongyu Li2,† Hao Yu3 Chi Hsu Tsai4 Pei Yang1 Houyuan Chen1 Si Liu2 Anyi Rao1,*

1HKUST MMLab 2Beihang University 3Tsinghua University 4Peking University

†Project leader  ·  *Corresponding author

Contact: marcuskwan2000@gmail.com

One task, two stages

Rebuild a video in code, then edit it.

The model sees only a reference video. It writes a program (HTML, SVG, Canvas or Three.js) that renders the same motion graphics, then receives a natural-language instruction and must edit its own program. A judge checks rendered frames against fixed checklists.

1Reference video the only input
</>
2Reconstruction rendered from GPT-6 Astra's code
edit
3Edited video same model edits its own program

Abstract

Large language models increasingly create visual content by writing code, and motion-graphics videos are a natural target: many are already produced as programs in HTML, SVG, Canvas, or Three.js. Code makes a video editable, yet no benchmark tests whether a model can recreate a video from pixels alone and then edit its own program on request. We introduce ReelCodeBench, a benchmark for code-based video reconstruction and editing. Given only a reference video, a model writes a program that reproduces it, and then edits that program following a natural-language instruction. ReelCodeBench contains 420 videos, ranging from few-second motion clips to three-minute explainer animations across six content types and six visual forms, each paired with an editing task, for 844 edit requirements organized into a Where / When / How taxonomy of spatial, temporal, and appearance edits. Since edited videos have no ground truth, we score each task with a rubric answered by a vision-language model from rendered frames: completion questions for each change inside its time window, keep items for content that must stay unchanged, and an overall quality rating. This separates missed edits, wrong edits, and collateral damage. Evaluating sixteen code-generating models and two diffusion video generation models, we find that reconstruction errors carry into editing, that motion and timing are the main bottleneck in both stages, and that even the best editor keeps only about 60% of what it should.

ReelCodeBench Leaderboard

Full results table

Benchmark

Curated clips, verified edits, checklists.

Benchmark construction and evaluation pipeline
Benchmark construction and evaluation. (a) Clips from five sources are filtered by rules and a VLM, labeled, and paired with human-verified edit tasks. (b) VLM judges score rendered frames with fixed checklists for reconstruction and editing.
Where

Spatial

Position, size, crop and layout of one element inside one time window.

When

Temporal

Appearance time, entrances and exits, motion paths, transitions and trimming.

How

Appearance

Text, typography, color and visual effects.

Results · Stage 1

Same video, different programs.

Each tile is rendered from code that a model wrote after watching only the reference. Videos play in sync; pick a case below.

Your turn

Which reconstruction is closer to the reference?

Two models rebuilt the same clip. Pick the one you think is better, then see which models they were and how the judges scored them.

Reference

Click A or B.

Results · Stage 2

Change what was asked, keep the rest.

Each model edits its own reconstruction. Three editors are drawn at random for every case: the top row is before the edit, the bottom row after.

Findings

What the benchmark shows.

01

Reconstruction errors carry into editing

A model edits its own program, so an element that is missing or badly structured after reconstruction is also hard to edit later.

02

Motion and timing are the bottleneck

Across models, the Motion and Timing rubric dimensions and the When edits score lowest, in both stages.

03

Keeping is as hard as changing

The best editor, GPT-6 Astra, completes 72% of requested changes but keeps only about 61% of what should stay unchanged.

Overview figure: reconstruct then edit, judge, code vs pixel editing, cost vs score
Overview. Top: one task, reconstruct then edit, with the checklist judge. Bottom: code editing versus pixel editing, and cost–score Pareto fronts for both stages.

Citation

BibTeX

@article{kwan2026reelcodebench,
  title   = {ReelCodeBench: Can Frontier LLMs Edit What They Rebuild?},
  author  = {Kwan, Hohin and Li, Hongyu and Yu, Hao and Tsai, Chi Hsu and
             Yang, Pei and Chen, Houyuan and Liu, Si and Rao, Anyi},
  journal = {arXiv preprint arXiv:2611.36565},
  eprint  = {2611.36565},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.36565}
}