RSS
Tools

HeyGen's HyperFrames lets Claude Code write videos as HTML

HyperFrames, HeyGen's open-source framework, treats video as code: Claude Code writes the scene in HTML and CSS, and the CLI renders a deterministic MP4. Setup, the skills it installs, requirements and how it compares with Remotion.

A video editing timeline with blue and purple clips on a dark screen
Photo by Peter Stumpf on Unsplash

Updated November 20, 2026: Expanded with setup steps, the skill set, requirements and a Remotion comparison.

HyperFrames is an open-source framework from HeyGen that treats a video as a web page. You, or a coding agent such as Claude Code, write the composition in HTML, CSS and a seekable animation library, and its command-line tool renders the result to an MP4. The project is Apache 2.0 licensed, ships new releases almost daily (v0.9.71 landed on November 19), and had about 87,000 GitHub stars when we checked on November 20.

The pitch is simple: agents already write HTML, so let them write video the same way, then hand rendering to a tool that produces the same frames every time. Claude Code is one route; the README says the skills also work with Codex, Cursor, Gemini CLI and other agents that support skills.

How a HyperFrames video is built

A composition is an ordinary HTML file. The root element carries a composition ID and the frame size, and every clip, title or audio track inside it gets data attributes for its start time, duration and track index: a video clip from second 0 for six seconds on track 0, say, with a headline on track 1 and music on track 2.

Motion comes from libraries you may already know. The README lists GSAP, CSS animations, Lottie, Three.js, Anime.js and the Web Animations API, plus custom frame adapters. The key requirement is that animations are seekable: a GSAP timeline is created paused and registered on the page, so the renderer can jump to any frame instead of playing in real time.

Rendering is done by headless Chrome. The engine seeks the page to each frame, captures it and encodes the sequence with FFmpeg. Because nothing depends on wall-clock playback, the same input produces the same video, which is why the project pitches it for CI jobs and automated content pipelines. There is no build step: an index.html composition plays directly in a browser.

Set it up in Claude Code

You need Claude Code signed in to your own account (usage bills there), Node.js 22 or newer with npm, and FFmpeg for the final MP4. The docs suggest running npx hyperframes doctor to check the machine. The recommended route is the plugin:

claude plugin marketplace add heygen-com/hyperframes
claude plugin install hyperframes@hyperframes

Start a new session or run /reload-plugins, then open Claude Code in an empty folder and ask for something concrete. With the plugin the entry skill is /hyperframes:hyperframes; with standalone skills it is /hyperframes. If Claude Code does not see it, start a new session (for standalone skills, run npx hyperframes skills check); if a render fails, run npx hyperframes doctor.

Try it with your AI. The project's own starter request, with your page swapped in:

Using /hyperframes:hyperframes, make a 10-second product intro for https://example.com.

Claude Code reads the guide for that kind of video, builds the project in the folder, checks it and opens a local preview. For longer story-driven films it first offers three storylines to choose from. You then ask for changes in the same conversation.

If you prefer skills without the plugin, npx hyperframes skills update installs the core set matching your CLI version, which is why the README prefers it over npx skills add, whose registry copy can lag by hours.

Use the CLI by hand

npx hyperframes init my-video
cd my-video
npx hyperframes preview
npx hyperframes render --output final.mp4

Preview opens a browser editor with live reload where you can also edit by hand. The CLI can add ready-made pieces from a catalog of roughly 450 blocks: npx hyperframes add data-chart gives an animated chart, and npx hyperframes add flash-through-white a shader transition. Renders can run locally, in Docker, or across AWS Lambda. To send a render for review, sign in with npx hyperframes auth login and run npx hyperframes share; workspaces get five free shared projects.

What the skills cover

HyperFrames ships nine skills. The core six are the main /hyperframes contract, a CLI skill, a registry skill for the block catalog, /media-use for music, voiceover, images and other assets, plus /reverse-any-video and /style-sampling. Three more install on demand: /figma, /slideshow for navigable decks rather than MP4s, and /remotion-to-hyperframes for porting existing video code.

Limits and costs

  • The framework and CLI are free with no per-render fees, but /reverse-any-video and /style-sampling are marked as HyperFrames Pro features, and some /media-use options call HeyGen services. The sources we read give no Pro price.
  • The Studio desktop app (free, for Mac, Windows and Linux) and the hosted connector for Claude.ai and ChatGPT need a HeyGen account; the connector also gives up your local project folder and local rendering.
  • The project moves fast, with near-daily releases, so check which version you are on when instructions differ.
  • Cloning the full repo for development pulls about 240 MB of golden test videos through Git LFS; GIT_LFS_SKIP_SMUDGE=1 git clone skips them.

HyperFrames or Remotion?

The README credits Remotion as its inspiration. Both render with headless Chrome and FFmpeg. The difference is the authoring model: Remotion uses React components and needs a bundler, HyperFrames uses plain HTML with no build step. Remotion ships under its own source-available licence; HyperFrames is Apache 2.0. In our judgement, teams already deep in React will find Remotion familiar, while an agent producing a self-contained file that opens in any browser is HyperFrames' lighter handoff.

Our take

The interesting part is not that an AI can make a video, it is that the output is a text file you can diff, review and regenerate. The README's own examples, such as PR walkthroughs with animated code diffs or chart races, are the kind of recurring video that can become a scripted job rather than an editing session. Our advice: start with a ten-second test and check the render on your own machine before wiring it into a pipeline.

Source: heygen-com/hyperframes on GitHub, Make videos with Claude Code (HyperFrames docs)

This story first appeared in the claudefox daily briefing for November 9, 2026.