HeyGen's open-source framework that renders HTML, CSS, and animations into deterministic MP4 video — built for AI agents to author.
Last verified · 2026-07-18 · by Moe Ameen
HyperFrames is an open-source video rendering framework from HeyGen — the AI avatar-video company — released under the Apache 2.0 license in April 2026. Its one-line description is "Write HTML. Render video. Built for agents." Instead of assembling a video on a drag-and-drop timeline, you describe a composition as a plain `index.html` file — CSS for layout, JavaScript and animation libraries for motion, data attributes for timing and tracks — and HyperFrames turns it into an MP4. There's no build step; a composition is just a web page.
The defining property is determinism. HyperFrames renders by seeking each frame in headless Chrome (via Puppeteer) and encoding the output with FFmpeg, so the same input always produces the exact same video, frame for frame. Motion is handled through an adapter layer that's library-agnostic — GSAP timelines, CSS keyframes, Lottie, Three.js, Anime.js, and the Web Animations API all work — and there's a companion studio at hyperframes.heygen.com plus a media layer that resolves assets (music, SFX, images, icons, LUTs) into frozen local files. Rendering runs locally or on AWS Lambda; requirements are Node.js 22+ and FFmpeg.
What separates it from React-based frameworks like Remotion is that HyperFrames is built for autonomous agents, not just human developers. It ships installable "skills" that teach an AI coding agent the whole production loop — plan, write HTML, animate, resolve media, lint, preview, render — so Claude Code, Cursor, Gemini CLI, or Codex can author and render a video from a natural-language prompt. Be clear on what it is not: HyperFrames is a rendering primitive. It produces one MP4 from code. It does not write your script, generate a talking-head avatar or a still image, add itself to a content calendar, or publish anywhere. (Note the naming coincidence: Kompozy's own brand-template layer is unrelatedly also called HyperFrames.)
HyperFrames gives you one deterministic MP4 from code. Kompozy is what turns that single render into a week of published content — and generates the formats HyperFrames structurally can't. Say your agent renders a slick 30-second data-viz explainer in HyperFrames. On its own that file sits in a folder. Drop it into Kompozy and it becomes the raw source for a repurposing fan-out: Kompozy reframes it to 9:16, 1:1, and 16:9, burns in branded auto-captions, cuts a Clipped Short from the strongest 8 seconds, and writes platform-native copy for each destination through your Persona Brief so the LinkedIn version and the TikTok version don't read the same.
Then Kompozy covers everything HyperFrames leaves out. It generates the net-new pieces around that clip — a HeyGen Persona Short or Persona HeyGen avatar video with a face-locked recurring identity, a brand-exact Carousel, Photo Posts and Quote Graphics, a Blog Article, and an Email Newsletter — and publishes the whole set across nine social platforms plus blog and Mailchimp from one queue, with scheduling, Autopilot, and a per-post review pipeline. The mental model: HyperFrames (or the agent driving it) is the render engine; Kompozy is the generation-plus-distribution engine that makes the output finished, on-brand, multi-format, and live everywhere.
Yes — it is open source under the Apache 2.0 license with no per-render fees and no requirement to use HeyGen's cloud. You supply your own compute (local or AWS Lambda) plus Node.js 22+ and FFmpeg.
Practically, yes — or you need to drive an AI coding agent. HyperFrames is a developer framework: you write compositions as HTML/CSS/JS, or you use its agent "skills" with a tool like Claude Code or Cursor. If you just want finished, published posts without touching a terminal, a done-for-you engine like Kompozy is the better fit.
No. HyperFrames is a separate, developer-focused rendering framework from HeyGen — it turns HTML into MP4. It does not itself generate a talking-head avatar; that is HeyGen's core avatar product. You could composite a HeyGen avatar clip into a HyperFrames scene as a video layer, but avatar generation is not part of the framework.
HyperFrames only renders the MP4 — it has no publishing built in. Bring the file into Kompozy to reframe it for each platform, add captions, generate companion posts, and schedule and publish across nine social platforms plus blog and newsletter from one queue.
Both build video from web code, but Remotion is React-based whereas HyperFrames is framework-agnostic — plain HTML with adapters for GSAP, CSS, Lottie, Three.js, Anime.js, and WAAPI — and it is explicitly designed for AI agents to author and render, not only human developers.