CLI tool
heygen-com/hyperframes avatar
heygen-com/hyperframes

HyperFrames: HTML-to-MP4 rendering with agent-friendly skills

Hyperframes turns HTML scenes into video, letting agents control layout and motion with web code before rendering the result.

50,323 stars4,592 forksTypeScriptApache-2.0

At a glance

What is it?
HyperFrames turns HTML scenes into deterministic MP4s, with a skill system that lets coding agents plan, write, and render videos. The trade-off is a browser-based pipeline that is not a substitute for a video editor.
Who is it for?
Adopt HyperFrames if you are an AI coding agent or a developer who wants to generate videos from HTML, CSS, and JavaScript without learning a video editor. Skip it if you need frame-accurate non-browser rendering, complex multi-track audio editing, or a stable API before 1.0.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 15, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

What HyperFrames actually does

HyperFrames is a TypeScript framework that turns HTML scenes into MP4 videos. The README describes it as a way to write HTML, render video, and it is explicitly built for agents. The core idea is that instead of using a timeline editor, you describe a scene in web code, add animations that can be seeked, and then render the result to a deterministic MP4. The target user is an AI coding agent, such as Claude Code, Cursor, Gemini CLI, or Codex, that can install skills and execute commands. For a human developer, it offers a CLI and a playground, but the design centers on agent-driven workflows. The project is open source under Apache-2.0, and the repository is actively maintained, with releases like v0.8.17 appearing daily. That activity suggests a fast-moving project, but also one where the API might shift.

The skill system as the entry point

The most distinctive part of HyperFrames is its 20 skills. The README describes a router skill, `/hyperframes`, that acts as a capability map and intent layer. When an agent gets a request like 'create a 10-second product intro', the router picks a workflow from the domain skills. These include `/product-launch-video`, `/faceless-explainer`, `/pr-to-video`, `/embedded-captions`, `/talking-head-recut`, `/motion-graphics`, and `/music-to-video`. Each skill teaches the agent the production loop: plan, write HTML, wire animations, add media, lint, preview, and render. The installation is careful about scope. The interactive picker (`npx skills add heygen-com/hyperframes`) shows a Core Skills group, and the router installs each creation workflow on demand. For non-interactive runs, `npx hyperframes skills update` installs exactly the core set, avoiding the full 20-skill pull. This design is a deliberate attempt to keep agent installs lean, but it adds complexity: the skills.sh registry can lag `main` by hours, so the README recommends `npx hyperframes skills update` for the newest skills.

How rendering works: deterministic and seekable

The README says HyperFrames turns HTML, CSS, media, and 'seekable animations' into deterministic MP4 videos. The word 'deterministic' is key. It means the same input should produce the same output, which is essential for agents that need to iterate on a video without random variation. The mechanism is that animations are not time-based in the usual sense; they can be seeked, meaning you can jump to a specific time point and get a consistent frame. This is different from a video editor where playback is linear. The rendering core is likely a headless browser, since it renders HTML and CSS to video. The README does not specify the exact engine, but the use of web code for layout and motion implies a browser environment. The deterministic property is a real advantage for testing and for agents that need to correct mistakes. However, it also means the rendering is constrained by browser capabilities, not a native video engine.

Getting started: commands and configuration

The quick start is straightforward for an agent. You install the skills with `npx skills add heygen-com/hyperframes`, or for non-interactive use, `npx hyperframes skills update`. Then you prompt the agent with something like 'Using `/hyperframes`, create a 10-second product intro with a fade-in title, a background video, and subtle background music.' For a developer, the README mentions a CLI and a playground, but it does not show a direct render command. The `npx hyperframes init` command keeps the core set fresh, and it never expands a partial install. There is also a Codex plugin packaging command: `bun run package:codex-plugin`, which writes `dist/hyperframes-plugin.zip` and fails if the archive exceeds Codex's 100 MB upload limit. The README does not list configuration keys or a config file. That omission is notable. If you are evaluating this for a production pipeline, you will need to check the docs site for details on how to set output resolution, frame rate, or media paths.

Where it is the wrong tool

HyperFrames is not a general-purpose video editor. The README's workflow list shows it is aimed at specific content types: product intros, explainers, PR summaries, captions, and short motion graphics. If your video requires complex multi-track audio mixing, precise color grading, or non-linear editing with arbitrary clips, this is the wrong tool. The deterministic HTML rendering model also means that any visual effect that is hard to express in CSS or JavaScript is difficult to achieve. For example, a particle system with physics might be possible, but it would require writing custom WebGL or canvas code, which is far beyond the scope of the skills. Another limitation is the dependency on an agent environment. The skills are designed for coding agents, but not all agents support the skills protocol. The README lists several that do, but if your agent does not, you would have to drive the CLI manually, and the README does not document that path in detail.

Alternatives: different approaches to HTML-to-video

The closest alternative is a headless browser screenshot tool like Puppeteer or Playwright, combined with a video encoder. That approach gives you full control over HTML rendering, but it does not provide a seekable animation model or a skill system. You would have to write your own frame capture and encoding loop, and you would lose the deterministic seek behavior unless you build it yourself. Another alternative is a dedicated motion graphics tool like Remotion, which renders React components to video using a similar HTML-to-video principle. Remotion is also deterministic and uses a browser, but it is a programming library, not an agent skill framework. The difference is that HyperFrames wraps the rendering in a skill-driven workflow, so an agent can plan and execute without writing custom code. Remotion requires you to write React components and manage a bundler. If you are a developer who wants to code videos directly, Remotion gives you more control. If you want an agent to do the work, HyperFrames is designed for that.

Maintenance, upgrades, and license

The project is at v0.8.x, and the release history shows daily updates. That means the API and the skill set can change quickly. The README itself warns that the skills.sh registry can lag the main branch, so you need to use `npx hyperframes skills update` to get the latest skills. This is a maintenance cost: you must keep the skills updated to match the rendering core, or an agent might use an outdated workflow. The license is Apache-2.0, which permits commercial use, modification, and redistribution, with the requirement to include the original license and attribution. That is a permissive license, but it does not grant any patent rights beyond what Apache-2.0 provides. Before adopting, you should check the full license text for any notices. The README does not mention a contribution guide or a changelog, so you will have to rely on the release tags to understand what changed between versions.

Editorial conclusion

Adopt HyperFrames if you are an AI coding agent or a developer who wants to generate videos from HTML, CSS, and JavaScript without learning a video editor. Skip it if you need frame-accurate non-browser rendering, complex multi-track audio editing, or a stable API before 1.0. Before adopting, verify that the skill installer works in your agent's environment, test the deterministic seekable animation model on your target content, and check the current release notes for breaking changes, since the project is at v0.8.x and changes weekly.

Official sources

  1. Official README
  2. Project repository
  3. Release notes
Community notes

Community notes