Motion Prompts AI

HyperFrames Examples and Prompts for Claude Code

HyperFrames is HeyGen’s open-source framework for turning HTML, CSS and JavaScript into MP4 video, built to be driven by AI coding agents. Our HyperFrames prompts ask Claude Code for one HTML composition animated by a single paused GSAP timeline, so the scene renders deterministically, frame by frame.

Written in
HTML, CSS and JavaScript
License
Apache 2.0 (open source)
Exports
MP4, MOV, WebM, GIF, PNG frames
Requires
Node.js 22+ and FFmpeg

Set up HyperFrames with Claude Code in 5 steps

  1. Step 1: Install Node.js 22+, FFmpeg and Claude Code

    HyperFrames needs Node.js 22 or newer with npm, and FFmpeg to render video files. Install Claude Code and sign in with your Claude or Anthropic Console account; HyperFrames can check the rest of your setup.

    macOS, Linux or WSL
    curl -fsSL https://claude.ai/install.sh | bash
    Windows PowerShell
    irm https://claude.ai/install.ps1 | iex
    Check Node.js, FFmpeg and the rest
    npx hyperframes doctor
  2. Step 2: Install the HyperFrames plugin

    Add HeyGen’s plugin to Claude Code with two commands. If you prefer standalone skills, run npx skills add heygen-com/hyperframes in your project folder and choose Core Skills.

    Terminal
    claude plugin marketplace add heygen-com/hyperframes
    claude plugin install hyperframes@hyperframes
  3. Step 3: Open Claude Code in an empty folder

    HyperFrames builds the project in the folder where Claude Code runs, so start from an empty one.

    Terminal
    mkdir my-video
    cd my-video
    claude
  4. Step 4: Paste the HyperFrames prompt

    Select HyperFrames under Build with on the animation page and copy the prompt. In Claude Code, begin your message with Using /hyperframes:hyperframes (or /hyperframes with standalone skills), then paste the prompt, so the HyperFrames skill loads before Claude builds.

  5. Step 5: Approve the stills, preview and render

    Claude shows you three still frames first. Reopen the live preview whenever you want, and render the MP4 yourself or ask Claude Code to do it.

    Terminal
    npx hyperframes preview
    npx hyperframes render --output final.mp4

Animations you can build with HyperFrames

Full library

Every animation in the library has a HyperFrames version of its prompt: choose HyperFrames under Build with on the animation page before you copy it.

License notes

HyperFrames is open source under the Apache License 2.0, which allows personal and commercial use, modification and redistribution as long as you keep the license and copyright notices with any copy you share. The framework runs on your own computer at no cost; HeyGen’s optional HyperFrames Studio app has its own free and paid plans.

Our HyperFrames prompts animate with GSAP, which is free to use under its own Standard License. That license excludes visual, no-code animation builders that compete with Webflow, which does not concern rendering your own videos.

What you may do with our prompts, and with the videos you make from them, is covered on our license page.

Export: MP4 and transparent background

MP4 is the normal delivery format. For a transparent overlay, render WebM for the web or MOV for a ProRes 4444 file with alpha that editing software reads. Leave html, body and any full-frame element unpainted wherever the video must stay transparent: an opaque background is encoded as visible pixels. Check the result over a contrasting background, since some players always show black behind alpha.

MP4
npx hyperframes render --output final.mp4
Transparent WebM
npx hyperframes render --format webm --output overlay.webm
Transparent MOV (ProRes 4444)
npx hyperframes render --format mov --output overlay.mov

Questions

Is HyperFrames free?
Yes. The framework is open source under the Apache License 2.0 and renders on your own computer. HeyGen also offers the HyperFrames Studio app, which has a free plan and a paid plan.
What do I need installed?
Node.js 22 or newer with npm, FFmpeg for rendering, and Claude Code. Running npx hyperframes doctor tells you what is missing.
Does HyperFrames use React?
No. A HyperFrames composition is plain HTML, CSS and JavaScript. Our prompts animate it with one GSAP timeline that HyperFrames seeks frame by frame when it renders.
Is this site affiliated with HeyGen?
No. HyperFrames is developed by HeyGen. This site is independent and writes prompts that work with HyperFrames.

Guides

Official documentation

Setup, license and export notes checked against these pages on November 24, 2026. Tools change: when in doubt, the official documentation wins.

Other ways to build

Every animation comes with a prompt for Remotion, HyperFrames and plain HTML. Each tool page covers setup, licensing and export.