Free

HyperFrames: create video from HTML, CSS and animation

Build a first HyperFrames scene from HTML, CSS and animation with Codex. Check the browser preview and MP4, then save a template for future videos.

Tools

Installation and quick start · Download source (ZIP)

HyperFrames turns HTML, CSS and animation into video. Codex builds scenes from your brief, shows them in a browser and saves an MP4. Use it for animated carousels, titles, diagrams and short product videos.

What it is useful for

Ask it to show a process: three cards forming a plan, an arrow connecting a problem and solution, or a long paragraph becoming a short conclusion. Revise through chat: “Slow down the second card and leave the conclusion visible longer.”

  • For carousels, use one scene per slide with shared colours, fonts and logo.
  • For a site video, use real page screenshots, highlight the relevant button and explain the result.
  • For recurring posts, make a template with replaceable text, images and numbers.

For a static carousel, prepare PNGs directly. If a suitable React project already exists, consider Remotion rather than moving completed work.

How to prepare HyperFrames for Codex

Codex or Work needs the project folder and command execution. A chat without these can prepare a script but cannot export locally. The official README requires Node.js 22 or later and FFmpeg.

  1. Find an existing project and HyperFrames plugin. Use its skills and run method rather than install another copy.
  2. Without a plugin, check the official source and propose the core skills in the project folder. Skills teach Codex the workflow; the HyperFrames program performs export.
  3. Create a separate practice project and open its preview. Do not experiment in the working site's folder as though it were empty.

Official command for installing the core skills through the assistant:

npx hyperframes skills update

Alternatively, use npx skills add heygen-com/hyperframes and choose Core Skills in the interactive list. One scene does not need the whole catalogue. If the skill is missing, reopen the task in the same folder. This local route needs no separate MCP server.

How to build the first scene

Start with one six-second slide: a heading, three cards and a short conclusion. Agree on design before building the whole carousel.

  1. Agree dimensions, text and movement. A practice example can use 1080 × 1350, sequential cards and connecting arrows. Check your platform's requirements separately.
  2. Build the scene and open local preview. Use GSAP and suitable plugins for lines or text when needed. Effects must actually work in the project.
  3. Inspect the beginning, middle and end, then save a trial MP4. After approval, apply the design to remaining slides.

The local project guide shows this cycle. The assistant runs commands and chooses an unused folder name:

npx hyperframes init my-video
cd my-video
npx hyperframes preview

Preview runs while its process is active. Export from a separate project terminal:

npx hyperframes check
npx hyperframes render

Automated checks do not check text meaning. Element positions must depend on scene time: seeking to the middle should show the same frame as continuous playback. This matters for arrows, masks and typed text.

Where it is used

The carousel plan, choosing animation uses HyperFrames with GSAP. Sample review first approves a cover and one inner slide. Export produces separate files, not only a combined video.

For a complete video, follow animated video from code to agree on script, scenes and output.

How to check results and save a template

Open the exported MP4 itself. Check dimensions, duration, all text in the chosen language and planned sound. Inspect intermediate frames: outlines should match objects, arrows should hit their targets and images should not cover text.

If fonts or images disappear, check asset loading before frame capture. If seeking changes motion, fix time control. If export fails, check Node.js, FFmpeg and the rendering browser. Installing a skill does not replace these checks.

Save sources, images, licensed fonts, settings and repeat-export instructions. For the next post, change content in a template copy. Stop preview after work; retain sources and outputs.

HyperFrames uses Apache-2.0; local rendering consumes no HeyGen credits. Account separately for assistant subscriptions, image generation and chosen paid services. A first example can render locally without cloud rendering.

Prompt for Codex

Paste into Codex or Work with file access. The assistant first checks existing connections and proposes one sample.

Help create an animated carousel using HyperFrames. Use the language agreed for my content; ask if it is not established. Find the existing project, my text, references and logo. Check available HyperFrames plugins or skills and use them; if missing, read https://hyperframes.heygen.com/quickstart and agree on required installation. Check Node.js, FFmpeg and local rendering. Do not create a second project over an existing one.

Clarify the topic and platform, propose a script, and first build one inner slide and the cover. Motion should explain content: cards form a plan, arrows show relationships and long text becomes a conclusion. If GSAP is needed, connect and actually use suitable plugins. Keep labels in the chosen language and the logo readable.

Open preview, inspect intermediate frames and graphical alignment. After approval, build the series, export each animated slide separately as MP4 and a readable PNG of every slide. Open finished files and check dimensions, order, duration and overlaps. Save sources and design rules as a template. Do not upload to external services or publish without my instruction.
In This Article
Saved