One style $9 · any 5 for $29 · all 140 styles $79 · Team $199One style $9 · any 5 $29 · all $79 →

← Blog

HyperFrames tutorial: init, preview and render a video

ReelStyles ·

HyperFrames turns an HTML page into an MP4. You create a project with npx hyperframes init, watch it with npx hyperframes preview, and write the file with npx hyperframes render. After that you can ask a coding agent such as Claude Code to change the video for you. If you want a finished look instead of the default, a ReelStyles kit can sit on top of the same project.

This tutorial uses the commands from HyperFrames' own docs. I did not render on the machine I wrote this on, so I describe what each step does as the docs state it and tell you what to look for on your screen.

What you need

No account or API key is needed to make and render videos locally. The docs say rendering on your own machine is free.

Step 1: check your machine

npx hyperframes doctor

doctor checks the runtime, the browser, FFmpeg and other local needs. If FFmpeg is missing, install it first:

Run ffmpeg -version to confirm, then doctor again.

Step 2: create a project

npx hyperframes init my-video
cd my-video

You get a new project folder. A few variations from the CLI docs:

npx hyperframes init my-video --resolution portrait
npx hyperframes init my-video --tailwind

--resolution portrait sets up a vertical video (1080×1920). You can also start from your own clip with --video video.mp4.

Step 3: preview

npx hyperframes preview

This opens a browser editor, on port 3002 by default. You should see your composition playing. Edits to the files show up in the preview, and you can also edit by hand in the browser.

If the preview closes, run the same command in the project folder to open it again.

Step 4: check before you render

npx hyperframes lint
npx hyperframes check

lint looks at the structure of your files. check samples frames and reports problems. The docs suggest giving the agent the full output of both when something fails.

Step 5: render

npx hyperframes render --output video.mp4

The MP4 is written on your own computer. The FAQ suggests draft quality for faster review renders while you iterate. Afterwards, check the file with ffprobe video.mp4 for size and length.

Step 6: edit by prompting the agent

Install the skills once. In your project folder:

npx skills add heygen-com/hyperframes

Pick Core Skills in the picker, then start or restart your agent in that folder. In Claude Code you call the skill like this:

Using /hyperframes, make the title bigger and add a 2 second outro with the text "My Channel".

If you installed the Claude Code plugin instead, the call is /hyperframes:hyperframes. Claude Code edits the HTML and the preview updates. Say what to change in the same conversation, then render again.

The Claude Code setup post covers the plugin route and the first prompt in more detail.

Common errors

Message or symptomWhat to do
No composition foundindex.html needs a root with data-composition-id, width and height. Start a new project with init if the file is damaged.
Render waits about 45 secondsThe scene never registered a GSAP timeline. Add data-no-timeline to the root, or register one. lint reports it.

Making it look designed

A first project has the plain default look. That is fine for learning the loop. When you want a specific style, such as dark keynote or flat explainer, a ReelStyles kit gives the agent the palette, scene templates and motion rules. The pricing page lists what is included, and 10 styles are free.

Questions

What is the difference between preview and render?

Preview plays the page live in a browser so you can edit. Render asks the page for every exact frame and encodes them into an MP4, so the result does not depend on your computer's speed.

Do I have to use an AI agent?

No. The project is plain HTML, so you can write it yourself. The agent saves the typing.

Where does the video file go?

Where you point --output. Use a name you can find, like video.mp4.

Sources

See all 140 styles and the price