OpenToolkit
DeveloperGuides

HyperFrames: Turning HTML and CSS into Deterministic Video

HyperFrames is an open-source framework for authoring motion graphics with web technologies and rendering them frame-by-frame into MP4 video.

HTML components and animation curves rendered frame by frame into a deterministic video file

HyperFrames is an open-source project from HeyGen for creating video with HTML, CSS, media assets, and seekable animation code. Instead of treating a binary editor project as the source of truth, it treats the composition as code that can be versioned, reviewed, generated by agents, and rendered repeatedly.

How code becomes video

A HyperFrames composition describes the layout and animation using familiar web technology. During rendering, a controlled browser advances the composition frame by frame, captures the output, and encodes the frames into video. This deterministic approach is useful when the same data-driven template must produce consistent results many times.

Why agents fit this workflow

Coding agents already understand component structure, CSS, animation libraries, and source control. HyperFrames provides skills and tooling that help an agent author a composition, use reusable blocks, preview frames, identify errors, and render the result.

Strong use cases

  • Product demonstrations and launch graphics

  • Data-driven charts and recurring reports

  • Branded social clips generated from templates

  • Developer tutorials with animated interface diagrams

  • Batch video rendering in CI pipelines

What it is not

HyperFrames is not primarily a text-to-video diffusion model. It excels at designed motion graphics and deterministic rendering. It also does not remove the need to license fonts, music, stock media, or other assets used in a composition.

Getting started

Follow the quick start in the official HyperFrames repository. Build a five-second composition with simple shapes and one animation before attempting a complete video. Keep the project in version control and render a few reference frames in automated tests to catch unexpected visual changes.

Video reference: Watch the HyperFrames segment from 16:24.