HyperFrames is a free, open-source (Apache 2.0) framework from HeyGen that turns an HTML page into an MP4 video. You write the video as plain HTML and CSS with a few data- attributes for timing, animate it with GSAP, CSS, Lottie or Three.js, and the CLI renders it frame by frame in headless Chrome and encodes it with FFmpeg. Rendering is deterministic: the same file and media files give the same video. You need Node.js 22+ and FFmpeg: run npx hyperframes init my-video and cd my-video, then npx hyperframes preview and npx hyperframes render. AI coding agents such as Claude Code, Codex, Cursor and Gemini CLI can use its official skills. Latest npm CLI 0.8.214 (~74.9k GitHub stars as of October 29, 2026). The generator below builds a ready-to-render starter index.html for you.
HyperFrames at a glance
| What it is | An open-source framework that renders HTML, CSS, media and seekable animations to video |
| Made by | HeyGen (heygen-com/hyperframes on GitHub), used in production at HeyGen |
| License / price | Apache 2.0, free. No per-render fees or commercial-use limits |
| Latest CLI | 0.8.214 (released October 29, 2026, npm package hyperframes) |
| Needs | Node.js 22 or newer and FFmpeg (the docs recommend FFmpeg 6+ for HDR, transparent WebM and AV1). Chrome is downloaded for you |
| Animation | GSAP, CSS animations, Lottie, Three.js, Anime.js, Web Animations, or your own adapter |
| Output | MP4 (WebM also supported) |
| GitHub | About 69,000 stars on October 29, 2026; public since March 2026 |
How a HyperFrames video works
A video is an HTML file. The root element carries data-composition-id, data-duration, data-width and data-height. Every clip inside it (a title, an image, a <video>, an <audio> track) gets its own data-start, data-duration and data-track-index. Animations go on a paused GSAP timeline that you register in window.__timelines. When you render, HyperFrames opens the page in headless Chrome, seeks that timeline to each exact frame, takes a screenshot and pipes the frames to FFmpeg. Because it asks for each frame instead of recording live playback, a slow computer can't drop frames, and the same input gives the same output every time.
There's no build step: the index.html plays as-is in the preview studio.
Install HyperFrames and render your first video
- Install Node.js 22+ and FFmpeg. On macOS:
brew install node ffmpeg. On Windows and Linux, install both from their official sites or your package manager. - Either install the CLI globally with
npm install -g hyperframes, or putnpxin front of every command. - Check your setup:
npx hyperframes doctor. - Create a project:
npx hyperframes init my-video, thencd my-video. - Preview it in your browser with live reload:
npx hyperframes preview. - Render it:
npx hyperframes render -o output.mp4. To render a different file in the project, use-c ./my-composition.html.
Before you render, npx hyperframes lint . catches common mistakes, and npx hyperframes check runs lint, a runtime check in headless Chrome and a layout check in one go.
Use HyperFrames with Claude Code, Codex, Cursor or Gemini CLI
HyperFrames was built for AI agents. You describe the video, and the agent writes the HTML, CSS and JavaScript.
- Claude Code:
claude plugin marketplace add heygen-com/hyperframes, thenclaude plugin install hyperframes@hyperframes. Use it with/hyperframes:hyperframes. - Any agent with skills (including OpenCode):
npx skills add heygen-com/hyperframesand pick the Core Skills group. In scripts and agent sessions, usenpx hyperframes skills updateinstead: it installs exactly the core set from the latest code. - The core skills are
/hyperframes(the render rules and work loop; read it first),/hyperframes-cli,/hyperframes-registry(about 450 ready-made blocks such as transitions, captions, charts and maps) and/media-use(music, voiceover, images and other media). Three more (/figma,/slideshow,/remotion-to-hyperframes) install on demand.
A first prompt from the official README: "Using /hyperframes, create a 10-second product intro with a fade-in title, a background video, and subtle background music."
Main CLI commands
| Command | What it does |
|---|---|
init |
Create a project (--example blank, --resolution portrait, --video, --audio) |
preview |
Open the studio in your browser with live reload |
lint / check |
Validate the composition before rendering |
render |
Render to MP4 (-o output.mp4, -c file.html) |
add / catalog |
Install ready-made blocks, for example npx hyperframes add data-chart |
publish |
Upload the project to a hosted URL (private by default) |
doctor |
Check Node.js, Chrome and FFmpeg |
cloud / lambda / cloudrun |
Render on HeyGen's cloud, AWS Lambda or Google Cloud Run instead of your own computer |
Is HyperFrames free?
Yes. The framework and CLI are open source under Apache 2.0, and rendering on your own computer costs nothing. Hosted extras are separate: publish and cloud rendering use a HeyGen sign-in (npx hyperframes auth login), so check HeyGen's own terms for those. There's also a free community playground at hyperframes.dev.
HyperFrames vs Remotion
HyperFrames says it's inspired by Remotion. Both render video with headless Chrome and FFmpeg. The difference is how you write the video.
| HyperFrames | Remotion | |
|---|---|---|
| You write | HTML + CSS + seekable animation | React components |
| Build step | None: index.html plays as-is |
Bundler required |
| Handing off to an AI agent | Plain HTML files | A JSX/React project |
| Cloud rendering | Local, AWS Lambda (and HeyGen cloud) | Remotion Lambda |
| License | Apache 2.0 | Source-available Remotion License |
How we checked the generator
We ran the generator's output through the official CLI (version 0.8.214) on our own Linux machine: all three formats × five animation choices, with and without a background video and music track, plus odd inputs (empty text, HTML tags in the headline, bad colour codes, a path like ../../file, out-of-range length). Every file passed hyperframes lint with 0 errors and 0 warnings, and we rendered a sample of them to MP4, including portrait and square, with audio.
Related on Toolsiftly: Universal Modder (agent skills for game mods), Kling 4 and Seedance 2.5 (AI video models).
Changelog
- October 29, 2026 (midday ~12:20 UTC+8): MATERIAL: npm
hyperframeslatest 0.8.214 (was 0.8.185); GitHub ~74.9k stars (was ~69k). README Quick Start plugin/skills commands unchanged.