DEV Community

Cover image for I Gave Codex and Claude Code the Same Video Editing Brief
Harsheen
Harsheen

Posted on Originally published at coanimator.com

I Gave Codex and Claude Code the Same Video Editing Brief

Codex and Claude Code are built for code, but this brief was for a video. Cut a podcast passage into kinetic typography under 40 seconds, using the same footage, the same music and the same design constraints. Neither agent was told which words to animate, which visual metaphors to use or where to place sound effects.

Sol in Codex returned a 30.9-second edit and Opus 5.5 in Claude Code returned 29.3 seconds. Their decisions diverged most in imagery and sound. The caveat up front is that this is one run per agent, with different models inside different agent harnesses, so it shows what each produced and not why.

Experimental setup

The source is Next Level Podcast, Episode 7, where host Anu Venkatesh talks with Peter Singer. Singer compares AI to an intern who is knowledgeable, inexperienced and eager to please. The brief supplied an 80-second window starting at 54:35, and both edits draw on roughly 54:44 to 55:43. DVIDS marks the item public domain.

Sol is OpenAI's model, run through Codex. Opus 5.5 is Anthropic's model, run through Claude Code. The brief fixed the passage, the length cap, the typography, the image layering and the audio treatment. Dialogue cuts, image prompts, word placement and sound cues were left to each agent. I ran the image prompts and assembled the authored files in CoAnimator, the editor used for this test, and gave both agents feedback on their edits.

Variable Status
Source footage Same for both
Brief Same for both
Output spec 1920×1080, 30fps, under 40 seconds
Typography and palette Inter Tight at weights 560 and 700; paper #F6F6F4, ink #121212, mint #3DFF8A
Music Same track, with each agent choosing its own excerpt and mix
Models and harnesses Different (Sol in Codex, Opus 5.5 in Claude Code)
Image generation Opus's four images came from Claude's prompts, rendered with Codex's image generator
Human steps Feedback on both edits; image prompts run and files assembled by hand
Model settings, tool versions, starting project state Not reported here
Revision rounds Not reported here
Generation time, token use, cost Not measured
Determinism validation Not reported here

The rows marked as not reported are gaps in this write-up, not controlled variables.

Watch both edits

The sections below refer to specific moments, so it helps to have both playing.

Results at a glance

Measured Sol in Codex Opus 5.5 in Claude Code
Running time 30.9 seconds 29.3 seconds
Source selections 14 11
Generated images 3 4
Sound cues 4 7

A source selection is one separate stretch of the original passage that an agent kept. These are counts only. They say nothing about pacing quality, image quality or how well the cues sync.

Same line, different interpretations

Take the line where Singer talks about experience. At 0:11 in Sol's edit, the word "experience" sits beside an assembled precision instrument in a dark workshop. At 0:12 in Opus's edit, it sits above loose watch parts and a blueprint. The timestamps differ because the two edits cut the passage differently. Both then return to the studio as Singer turns to the human intern.

Sol reads experience as a finished instrument, and Opus reads it as the parts and plans that come before one. A single frame can't decide between those readings, which is why the videos are worth playing.

How the agents built the videos

Each edit is a small project, not a baked render. The constraints below come from the shared brief, and they explain how spoken dialogue becomes timed visuals.

Source mapping. The brief required every cut and every spoken type event to be mapped to source timestamps, recording source in and out, resulting local in and out, and frame indices. That mapping ties a word on screen to a moment in the original recording and then to a frame in the edit.

Deterministic rendering. Each project was to expose one render(t), a __kcControl interface, an asynchronous renderFrame and a ?t= cold-seek boot. The brief's rule was that repeated seeks to the same time must reproduce the same frame. In practice that means a frame is computed from time alone and not from whatever played before it, so the page can open at any timestamp. The brief also banned structural CSS transitions and unseeded randomness, and required footage, fonts, images and masks to be decoded before a frame draws.

Text behind speakers. The brief allowed at most one text-behind-person moment, and only with actual source-frame masks. The recut local frame is mapped back to its original source frame, and the same decoded picture is drawn through its matching alpha mask. Both edits have one "HUMAN" shot behind the speakers.

Audio. A frame-accurate source-select proxy carries the cuts and a working mix for standalone playback, with no finished graphics on it. The embedded animation is muted, and dialogue, music and effects play from separate native tracks. Because they are separate, an effect can be lowered or a headline moved without touching the dialogue edit.

Consistency checks. Duration, animation duration, proxy frame count and HTML duration all had to agree and stay under 40 seconds. The agents also recorded their source mapping, image prompts, sound provenance and checkpoint targets. Export of a finished master was held back until requested, and the MP4s linked above are the finished renders.

The project source isn't reproduced here, and this write-up doesn't report validation of these requirements. Treat them as what the agents were asked to build, not as verified outcomes.

Where the editing decisions differed

Sol built depth from three generated layers. They are a workshop, a brass-and-steel instrument and tools near the lens, and they move separately. The words sit in the empty space to the right of the instrument. Its "HUMAN" shot appears behind the speakers and the microphone arms. Four short material and impact cues land at cuts, with music kept under the dialogue.

Opus used a blueprint as the background, loose components in the middle plane, and a loupe and tweezers passing close to the lens. It later cuts to a damaged gear, and the focus changes and grain carry over into the studio footage. Its seven cues include watch ticks, metal clinks and a knock.

One interpretation, and only that: Sol concentrated on a single object with layered depth, while Opus spread its effort across more scenes and more sound events. Whether either choice reads better depends on timing and mix quality, which counts can't show.

What this experiment can't establish

  • Differences could come from the model, the agent harness or the feedback each received, and this test can't separate them.
  • The imagery combines Claude's prompts with OpenAI's image model, so it isn't a clean comparison of image direction.
  • It is one clip and one run per agent, so there is no measure of variance.
  • It says nothing about speed, cost or how either agent handles a longer project.

How to evaluate agent-generated videos

Playing the result is the first check, not the only one. A reusable checklist for any agent-built video:

Criterion What to test
Brief compliance Duration, resolution, frame rate, fonts and palette against the brief
Semantic accuracy Whether each image and word matches what the speaker means at that moment
Temporal accuracy Whether each word appears on the spoken word, checked against the source mapping
Determinism Seek to the same time repeatedly, including from a cold ?t= load, and compare the frames
Editability Change one word, hold or image and confirm nothing else moves
Audio Dialogue stays clear over music and effects on their separate tracks
Revision stability After a local change, replay the neighbouring cuts for new pauses or broken scenes

Revision prompts work best when they change one thing, for example "shorten the hold on the word 'experience'" or "move the headline out of the microphone area and into the empty wall."

Reuse also needs permission. This source is marked public domain by DVIDS, but any other clip needs its own licence for the edit you plan to make.

What I'd measure next

Both agents could produce a finished edit. The more interesting difference was how each one read the same constraints.

A fairer follow-up would fix the image generator, cap both agents at three revision rounds and log what changed after each round. That would separate creative interpretation from revision quality, and it would put numbers on generation time and token use. The full brief, both MP4s and the playable projects are in the original write-up.

For anyone testing coding agents on motion graphics, which would you measure first? Visual quality, instruction following or how reliably a project survives revisions?

Source: Aaron Lebsack / NIWC Pacific via DVIDS, edited independently for a CoAnimator demonstration. The appearance of U.S. Department of War (DoW) visual information does not imply or constitute DoW endorsement. See the DVIDS reuse conditions. Music: "Signal to Noise" by Scott Buckley, No Piano Melody mix, used under CC BY 4.0.

Top comments (1)

Collapse
 
userxnom profile image
Abdullah Naseer •

The honesty about what this can't establish is what makes it useful — one run, different harnesses, and Opus's images rendered with Codex's generator means the visual comparison isn't clean, and you say so. The criterion I'd measure first from your checklist is editability, not visual quality: 'change one word and confirm nothing else moves.' A coding agent can nail a first render and still be unusable if every small revision re-times the neighbouring cuts or shifts the holds. Did either agent's render(t) actually pass the cold-seek determinism check, and when you made a one-word change during feedback, did the rest of the timeline stay put — or did the edit drift? That answer would tell me more than the 30.9 vs 29.3 seconds.