Tools

Everything is code, including your video editing

A pptx, a docx, an edited video: it is all structure, and Claude Code knows how to write it.

Louis Graffeuil
Louis Graffeuil
Founder Tandem
August 14, 2026Published
5 minread
Screen displaying code, surrounded by document, image, video and spreadsheet icons linked by arrows

Everything is code. A deck, a spreadsheet, an edited video: behind every deliverable there is a structure a machine can write. AI video editing is the most spectacular demonstration of it.

Guillermo Rauch, CEO of Vercel, summed it up in four lines: a slide deck is code, design is code, a video is code again. Excel automation? Code too.

Guillermo Rauch's post on X: the big lesson from AI is that everything is code

We do not see it because we handle interfaces (PowerPoint, Canva, Excel). But behind every deliverable there is a structure.

And now that Claude Code can write that structure for you, the list of tasks "reserved for experts" is shrinking fast.

I covered how to get started with the tool in my practical guide to Claude Code for non-developers.

Behind every kind of expertise there has always been a layer of machine-executable instructions. We do not see it, because software hides it behind buttons.

Interfaces hide the structure

Try it: take a set of slides in pptx format, rename the file to .zip, and unzip it. You get a folder of XML files, one per slide, with the layout, the colours, the positions and the notes.

Same for a .docx and an .xlsx. They are ZIP archives of XML files, not magic objects.

And that is exactly how Claude works on your documents. The logic is brutally simple: unzip, edit the file for slide 2, zip again.

Illustration of a PPTX to XML file converter

Interfaces are mostly html / css / javascript. AI models are very good at that. So we could use them for tasks that look creative, such as video editing.

Frame from a HyperFrames video showing the HTML, CSS and JavaScript snippets behind the scene

AI video editing, the most revealing edge case

I deliberately take the example that looks the most creative and the most subjective: video editing. Everyone talks about video generation (Veo, Seedance, Kling) and the models have become impressive. But the next step, the one where everyone gets stuck, is the edit.

Adding animated text synced to the right timecode, burned-in subtitles, a branded intro, used to require After Effects or Premiere. Except that an edited video is a timeline. Layers, durations, positions. So a structure. So code.

AI video editing diagram: pull request diff, scene by scene storyboard, then a video.mp4 file

The project that illustrates it best is HyperFrames, an open source framework built by HeyGen. You write a web page, an engine (Puppeteer plus FFmpeg) captures it frame by frame and encodes it into MP4.

HyperFrames interface with the prompt Using /hyperframes, make a 10-second product intro and the npx skills add heygen-com/hyperframes command

Editing a video with Claude Code and HyperFrames in 4 steps

Concretely, here is how to edit a video with Claude Code and HyperFrames:

  1. Install the skills. The repo ships around twenty skills that encode the framework patterns Claude would not guess on its own. You can then use /hyperframes in your conversation.
  2. Prepare a folder with your media, images or videos in mp4 format (raw clips, visuals, logo).
  3. Ask for the storyboard before the video. You get the scenes, the copy and the shot intentions as a web page. You fix the copy right there, before launching a single render. That saves a lot of time, and a lot of tokens.
  4. Generate the edit, exporting the final MP4 files next to the source files.

At no point do you read the code. Claude Code handles all of it. Here is the render obtained from a single prompt on a video intro:

The render obtained from a single prompt, with no instruction beyond illustrating the video.

This is a basic prompt, with no instruction beyond "illustrate the video". With an optimised prompt you can go much further. Here, Claude handled:

  • subtitles → subtitle generation, improving the transcript with a global understanding. For instance "Claude code" had come out as "Cloud code", and the tool fixed it.
  • audio → normalisation to −14 LUFS (the YouTube target), 70 Hz high-pass, light compression, micro-fades on the 4 cuts.
  • Camera → alternating tight and wide on every cut (which also hides the jump cuts), slow drifts within shots, quick punches on "ChatGPT" and "fou", zoom out when the barriers fall, intimate push on "j'ai été bluffé".
  • Motion design → every element locked to the spoken word: a "CLAUDE CODE × n8n" hook on the opening, the 4 barriers (interface, nodes, workflow logic, mapping) stacked as chips, "AUTOMATISER / L'AUTOMATISATION" full frame, and so on

Pillow and MoviePy, the Python alternative

You can also go through libraries such as Pillow and MoviePy, two Python libraries.

  • Pillow to manipulate images (resize, crop, convert, add text or filters)
  • MoviePy to manipulate video (cut, concatenate, add sound, subtitles, transitions, export to MP4).
The same logic in Python: I ask for five ad videos that composite animated typography into the negative space of each shot.

What to remember: the code, render, inspect, fix loop

This is where the real value of the subject sits, and it goes well beyond video. When you generate an image or a video, every new attempt is a roll of the dice. You rerun it, you get something else, you pick the least bad one.

When the deliverable is code, you enter a loop: Code → Render → Inspect → Fix. The spacing is off, you change the CSS. The text runs over the face, you shift the position. The animation drags, you adjust the timing.

With a clear goal and verification steps, Claude runs autonomously, and each iteration improves the artefact instead of starting over.

Going further: generated script, voice and avatar

You can go further than the edit, all the way up to generation:

  • The script upstream → Claude writes and breaks the script into shots before any generation, respecting your tone of voice
  • The voice → ElevenLabs (through voice cloning), or directly the HyperFrames media commands, which handle speech synthesis, transcription and background removal for transparent overlays.
  • The avatar → HeyGen to put the script on screen. The progress on avatars is impressive.

If this workflow is of interest, I could produce a few minutes of fully AI-made video following this logic.

Should you hand your video editing over to AI?

Everything is code, but above all everything that is code is fixable, versionable, reusable. And therefore automatable.

Video editing is an extreme example because it is creative and subjective. The same logic works on a deck generated with Claude Design and exported to pptx, on a report, on a dashboard or on a spreadsheet.

If you want to apply this loop to your own deliverables, that is exactly the kind of project we scope in an AI audit at Tandem.

(To dig into the underlying shift, a16z published The Next Frontier of Visual AI Is Code on 2 June 2026, on this move from pixels to code.)

Frequently asked questions

Do you need to know how to code to edit a video with AI?

No. With Claude Code and the HyperFrames skills, you describe the result you want in plain language, and the agent writes the web page, runs the render, then exports the MP4. You review the storyboard as HTML and fix the copy, not the code. The useful skill is not programming. It is the ability to state a goal and verification criteria.

How much does video editing with Claude Code and HyperFrames cost?

HyperFrames is an open source framework published by HeyGen on GitHub, so there is no licence to pay. The real cost is the tokens the agent consumes, and it depends mostly on the number of round trips. Getting the storyboard approved before launching a render is the most effective way to contain it, because a failed render is paid for twice.

What is the difference between AI video generation and AI video editing?

Generation produces shots from a prompt, with models such as Veo, Seedance or Kling. Editing assembles those shots: timecodes, subtitles, animated text, branding, audio mixing. Generation is a draw you rerun until a shot is acceptable. Editing is a structure you fix line by line.

Does this logic work on anything other than video?

Yes, and that is the real point. A deck, a report, a dashboard or an Excel file all rest on a structure a machine can read. As soon as the deliverable is code, it becomes fixable, versionable and reusable, therefore automatable. Video editing is only the most extreme case, because it looks creative and subjective.

Read next

All articles
ToolsTandem cover visual: Claude versus ChatGPT for business

Claude or ChatGPT for business: pricing, rollout, verdict

By Louis Graffeuil
ToolsHow to build an AI agent with n8n, cover visual of the Tandem tutorial

How to build an AI agent with n8n, the complete tutorial

By Louis Graffeuil
Toolsn8n vs Make vs Zapier, the 2026 SMB comparison, cover visual of the Tandem guide

n8n vs Make vs Zapier, which one should an SMB pick

By Louis Graffeuil