Toolsiftly

HyperFrames: What It Is, How to Install It, and a Starter Composition Generator

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.

By the Toolsiftly editorial team · Updated

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

  1. 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.
  2. Either install the CLI globally with npm install -g hyperframes, or put npx in front of every command.
  3. Check your setup: npx hyperframes doctor.
  4. Create a project: npx hyperframes init my-video, then cd my-video.
  5. Preview it in your browser with live reload: npx hyperframes preview.
  6. 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.

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

HyperFrames starter composition generator

Pick a format, length, text, colours and an entrance animation, add an optional background video or music track, and get a valid HyperFrames index.html plus the exact commands to preview and render it to MP4.

Format
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=1920, height=1080" />
    <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
    <style>
      :root {
        --ground: #0f172a;
        --ink: #ffffff;
        --font-display: system-ui, -apple-system, "Segoe UI", sans-serif;
      }
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      html,
      body {
        margin: 0;
        width: 1920px;
        height: 1080px;
        overflow: hidden;
        background: var(--ground);
      }
      #root {
        position: relative;
        width: 100%;
        height: 100%;
        font-family: var(--font-display);
      }
      #title {
        position: absolute;
        left: 8%;
        right: 8%;
        top: 0;
        bottom: 24%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: var(--ink);
        font-size: 108px;
        font-weight: 700;
        line-height: 1.05;
        letter-spacing: -0.03em;
      }
      #sub {
        position: absolute;
        left: 10%;
        right: 10%;
        top: 62%;
        text-align: center;
        color: var(--ink);
        opacity: 0.85;
        font-size: 38px;
        line-height: 1.3;
      }
    </style>
  </head>
  <body>
    <div
      id="root"
      data-composition-id="main"
      data-start="0"
      data-duration="8"
      data-width="1920"
      data-height="1080"
    >
      <h1 id="title" class="clip" data-start="0" data-duration="8" data-track-index="0">Launch day</h1>
      <p id="sub" class="clip" data-start="0" data-duration="8" data-track-index="1">Our new app is here</p>
    </div>
    <script>
      window.__timelines = window.__timelines || {};
      const tl = gsap.timeline({ paused: true });
      tl.fromTo("#title", { opacity: 0, y: 60 }, { opacity: 1, y: 0, duration: 0.8, ease: "power3.out" }, 0.2);
      tl.fromTo("#sub", { opacity: 0, y: 30 }, { opacity: 0.85, y: 0, duration: 0.6, ease: "power2.out" }, 0.6);
      tl.to("#title, #sub", { opacity: 0, duration: 0.5, ease: "power1.in" }, 7.4);
      window.__timelines["main"] = tl;
      tl.seek(0);
    </script>
  </body>
</html>

1920×1080 · 8 s · checked with HyperFrames CLI 0.8.214. File names may use letters, numbers, dot, dash, underscore and slash; anything else falls back to the default name.

Everything is generated in your browser. Nothing you type is uploaded, and no video is rendered on our side: you render it on your own computer with the free HyperFrames CLI.

What the generated file contains

Rendering needs Node.js 22+ and FFmpeg. Run npx hyperframes doctor if something is missing.

Frequently asked questions

What is HyperFrames?

An open-source (Apache 2.0) framework from HeyGen that renders HTML, CSS, media and seekable animations (GSAP, CSS, Lottie, Three.js) to MP4 video. Videos are plain HTML files with data attributes for timing.

How do I install HyperFrames?

Install Node.js 22+ and FFmpeg, then run npm install -g hyperframes (or use npx). Check your setup with npx hyperframes doctor, create a project with npx hyperframes init my-video, preview with npx hyperframes preview and render with npx hyperframes render.

Is HyperFrames free?

Yes. It's open source under Apache 2.0 with no per-render fees, and local rendering is free. Publishing to a hosted URL and HeyGen cloud rendering need a HeyGen sign-in.

How do I use HyperFrames with Claude Code?

Run claude plugin marketplace add heygen-com/hyperframes, then claude plugin install hyperframes@hyperframes, and use /hyperframes:hyperframes. Other agents can install the skills with npx skills add heygen-com/hyperframes.

What's the difference between HyperFrames and Remotion?

Both render with headless Chrome and FFmpeg. HyperFrames uses plain HTML with no build step and is Apache 2.0; Remotion uses React components with a bundler and a source-available license.

What does HyperFrames need to render?

Node.js 22 or newer and FFmpeg (version 6+ is recommended for HDR, transparent WebM and AV1). The CLI downloads the Chrome build it uses.

Who makes HyperFrames?

HeyGen. The source is on GitHub at heygen-com/hyperframes, and HeyGen uses it in production.

What is the latest HyperFrames version?

As of October 29, 2026 the npm package hyperframes reports version 0.8.214. Install with npx hyperframes or npm install -g hyperframes.

Facts checked against official documentation on . Official: GitHub, HyperFrames CLI README (init, preview, render, publish, lint, doctor), HyperFrames docs, npm.