HyperFrames: Turning HTML and CSS into Videos with AI Agents

HyperFrames: Turning HTML and CSS into Videos with AI Agents

HyperFrames is an open-source framework from HeyGen that turns HTML, CSS, and animations into MP4 videos using AI coding agents.

▶ Watch the video explainer

The paper, point by point

  1. Video creation without manual editing

    Traditional video tools require clicking through timelines, while programmatic alternatives often rely on heavy React setups. AI agents struggle to generate video without standard web structures.

    Video creation without manual editing (from the video)
  2. Meet HyperFrames

    HeyGen released HyperFrames, an open-source framework that converts HTML, CSS, media, and animations into MP4 files.

    Meet HyperFrames (from the video)
  3. Styling videos like webpages

    Instead of a proprietary timeline, developers build standard web pages with timing attributes. The framework plays and records the content frame by frame.

    Styling videos like webpages (from the video)
  4. Built for AI coding agents

    The project ships 9 skills for coding assistants like Claude Code and Cursor. These skills guide the agent to plan scenes, write animations, and lint output.

    Built for AI coding agents (from the video)
  5. Deterministic rendering pipeline

    Headless Chrome steps through each frame accurately. FFmpeg then encodes the captured frames into a final MP4 so the same input always yields identical results.

  6. Rapid developer adoption

    The repository reached 82,382 GitHub stars, picking up 3,432 stars across six days.

  7. A new role for agents

    Coding assistants are shifting from pure code generation to full motion graphics engines that automate product demos and visual documentation.

Watch the explainer

Watch on YouTube ShortsWatch on InstagramWatch on FacebookWatch on Threads

Music: "Carefree" Kevin MacLeod (incompetech.com), licensed under Creative Commons: By Attribution 4.0 — creativecommons.org/licenses/by/4.0/

How it works

  1. Scaffold a new project using the terminal.
  2. Prompt an AI coding agent with built-in skills to write the animation.
  3. Preview the output live in a browser or render to MP4.

Key numbers

82,382GitHub starsTotal GitHub stars for the hyperframes repository.
3,432Stars gained in last 6 daysRapid growth of stars on GitHub recently.

Why it matters

Web developers and engineers can automate product launch videos, documentation diffs, and charts using familiar web markup. AI coding tools can now autonomously draft and render polished video files directly from prompts.

Words to know

HyperFrames
An open-source framework for creating videos from HTML using AI agents.
FFmpeg
A command-line tool used to record, convert, and stream audio and video.
The source

hyperframes: Write HTML. Render video. Built for agents.

heygen-com · GitHub · 2026-11-11

Made with Maya — an AI-assisted explainer with an AI voice. Numbers come from the source; check the paper for the full details.

Comments