HyperFrames 的选择是把抽象层压到最低——不发明组件 API,直接以 DOM 为时间轴载体。动画由 CSS @keyframes、Web Animations API 或 JS 驱动,渲染引擎只需控制"时钟"并保证每帧截图时动画处于确定状态(这正是难点:必须暂停真实时间、用确定性时钟驱动 document.timeline,否则帧间抖动、掉帧)。此外它提供 Catalog/Blocks(如数据图表块)和 Skills 机制,让 Agent 通过可复用的 HTML 片段拼装画面,而不是从零生成。
graph TD
A[用户/Agent 编写 HTML] --> B[HyperFrames CLI 解析入口]
B --> C[无头浏览器加载页面]
C --> D{"确定性时钟驱动"}
D -->|"逐帧推进"| E[截取画面帧]
D -->|"注入素材"| F[本地视频/音频轨]
E --> G[FFmpeg 编码封装]
F --> G
G --> H[输出 MP4]
H --> I[Studio 应用预览/二次编辑]
C --> J[Catalog Blocks 复用片段]
J --> C
值得注意的设计取舍:把"编辑自己的素材"和"生成新视频"放进同一条管线,意味着它既能做重制(remake)——拿现成视频做转码、叠加 HTML 图层,也能做纯生成。这种统一抽象是它区别于纯"代码动画库"的地方,工程复杂度也集中在这里:音视频同步、帧率对齐、字幕轨与画面轨的时序一致性,都是踩坑高发区。
Open-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
HyperFrames is HeyGen’s AI video editor for people and agents. Describe a video, bring your own footage, or remake a video you love, and get a real project you can change down to the frame: ask for a bigger title, a faster cut or new captions, and it changes just that.
Underneath, HyperFrames is a free, open-source framework (Apache 2.0) for turning HTML, CSS, JavaScript, media and seekable animations into deterministic MP4 videos. Use it locally with the CLI, from AI coding agents like Claude Code, Codex and Cursor with skills, or as the rendering core behind hosted authoring workflows. No React required.
Three ways to use it
Best for
Start
HyperFrames Studio app
Anyone, no code. Describe a video or drop in your footage, then edit by typing or pointing. Use the built-in agent on Pro, or your own Claude Code or Codex.
The HyperFrames Studio app has a free plan. Pro ($25 a month) adds top video, image, voice and music models (HeyGen Video 1, Seedance 2.5, Lyria 3 Pro and more) and 25,000 credits a month.
Made with HyperFrames
Script-based editing
Edit your own footage
Captions on your video
Remake any video
Launch video from your website
Faceless explainer
Flat cartoon explainer
Real-UI motion graphics
3D one-take trailer
3D type
Remotion project, ported
Generative motion
Click any clip to watch it with sound.
What you can make
Video
How
Branded UGC videos for TikTok and Instagram from your own phone clips: captions, music, text hooks, fast client revisions
The Studio app: drop in your footage, then edit by typing or pointing
Video podcast episodes: line up a multi-camera recording, cut to whoever is talking, clean up the sound, add captions
The Studio app’s podcast edit
Product demos, tutorials, launch videos and feature announcements, from your website or a screen recording
Paste your URL into the Studio app, or ask your agent
Explainer and faceless YouTube episodes from your topic, script or voiceover
Community skills (hyperframes-community-skills, community-maintained, review before use): camera-3d-captions (captions in 3D around a speaker), vox-explainer (collage explainers), p5-paint-animation (handwriting and paint-on), prod-by-claude (live-coded music videos), session-story and day-in-my-life (your agent sessions as films), duo (side-by-side phone memes), x-posting-license (an ID-card video for any X profile).
Quick start for developers
Using Claude Code, Codex, Cursor, or another coding agent? Install the skills once, then ask your agent to make a video.
Give your coding agent the skills (recommended)
npx skills add heygen-com/hyperframes # pick "Core Skills" in the picker
# or, with no picker (scripts, CI):
npx hyperframes skills update
Then try: Using /hyperframes, create a 10-second product intro with a fade-in title, a background video, and subtle background music.
Claude Code plugin
claude plugin marketplace add heygen-com/hyperframes
claude plugin install hyperframes@hyperframes
npx hyperframes init my-video
cd my-video
npx hyperframes preview # live preview in the browser
npx hyperframes render # render to MP4
Requirements: Node.js 22.19+ and FFmpeg. Render in the cloud with hyperframes cloud render, or on your own AWS Lambda.
Skill install options, updates and the core set (full details)
Claude Code plugin updates
To enable auto-update for the hyperframes marketplace, run claude in a
terminal in your project. In Claude Code’s terminal UI, run /plugin, then select
Marketplaces → hyperframes → Enable auto-update. Afterward, use
/hyperframes:hyperframes. See the plugin guide
for Copilot, VS Code, Cursor, Gemini CLI, updates, and migration.
Standalone skills (including OpenCode)
The picker opens with nothing pre-selected — the Core Skills group is all you need; /slideshow, /remotion-to-hyperframes and /figma install on demand. Without the picker (a script or a CI job), npx hyperframes skills update installs exactly the core set, whereas skills add --all installs all 9 published skills. The six repo-internal skills under .claude/skills / .agents/skills are excluded by default. For the full published set use npx hyperframes skills.
skills add resolves the skills.sh registry blob, which can lag main by hours. npx hyperframes skills update installs the skills from the release tag that matches your CLI version, so they match the CLI that runs them.
Run project-local installs from your video project’s directory. From a HyperFrames
checkout, use npx hyperframes skills update for a global install instead: a
project-local installer target can overlap the tracked skills/ source and
overwrite uncommitted edits. See contributor setup.
The skills teach agents the HyperFrames production loop: plan the video, write valid HTML, wire seekable animations, add media, lint, preview, and render. They work with Claude Code, Codex, Cursor, Gemini CLI, IBM Bob, and other coding agents that support skills.
Share a video for review
Sign in with npx hyperframes auth login, then run npx hyperframes share to
choose who can open the rendered review. Use share --update when edits should
become a new version and share --manage for web settings. CLI and Desktop use
the same sharing system and five free projects per workspace. Existing legacy
published links remain reachable.
Skills
HyperFrames ships 9 skills. Make any video by asking for it; the /hyperframes skill carries the contract and the references (film, captions, overlays, motion, look). Read it first.
The core set below is what npx hyperframes skills update installs and what the picker lists as “Core Skills”. Install one skill with npx skills add heygen-com/hyperframes --skill <name>, or all 9 with --all. A non-interactive or agent run of npx skills add without --skill installs all 9. npx hyperframes init adds the core set only when it is missing and never touches a skill you already have; on-demand skills install with npx hyperframes skills update <name>.
Core set
Skill
Use when
/hyperframes
Read first for any request to make, edit, animate or render a video, motion graphic, captions or overlays with HyperFrames (HTML rendered to video). Holds the render contract and the work loop, and points to the references for format, motion, look, captions, whole films and storyboards.
/hyperframes-cli
The HyperFrames CLI by job — scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, share, project history — plus reading its JSON and recovering from build or render failures.
/hyperframes-registry
About 450 ready-made blocks and components installed as editable source — transitions, overlays, titles, kinetic type, captions, charts, maps, 3D, camera moves. Use before hand-building any named visual; also for hyperframes add and catalog.
/media-use
Get or make any media for a video — music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks — with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull.
/reverse-any-video
Rebuilding any video file as an editable HyperFrames project (motion graphics, talking heads, live action, AI-generated footage), checked frame by frame against the original.
/style-sampling
Making a new episode on your topic in one of five proven styles: Collage Explainer, Finance Explainer, Animated Science Explainer, 3D Brand Explainer, 3D True Crime.
On demand
Skill
Use when
/figma
Bring Figma into a video — rendered assets, brand tokens, components, storyboard frames as reconstructed motion, shaders and connector-assisted motion. Use when you paste a figma.com link.
/slideshow
A presentation, pitch deck or interactive deck — discrete slides, fragment reveals, branching, hotspot navigation, presenter mode with speaker notes. Output is a navigable deck, not a rendered MP4.
/remotion-to-hyperframes
Bringing existing video code or footage into HyperFrames (Remotion first; also Motion Canvas, Lottie, Three.js, canvas, other tools’ renders), verified frame by frame.
Every brand has a design.md. None of them were written for a camera. frame.md is the missing translation layer: it takes your web-context design spec and inverts it for the frame — the same tokens, the same rules, but rewritten so an AI agent can compose a promo video without guessing at scale or reaching for web chrome.
The output is a DESIGN.md superset your whole toolchain can read. Atoms stay sacred. Composition stays free. Numbers come from the script.
Define a video as HTML. Add data attributes for timing and tracks. Use GSAP, CSS, Lottie, Three.js, Anime.js, WAAPI, or your own frame adapter for seekable animation.
Preview instantly in the browser. Render locally or in Docker. The renderer seeks each frame in headless Chrome and encodes the result with FFmpeg, so the same input produces the same video.
Why HyperFrames?
HTML-native: make videos programmatically with HTML, CSS and JavaScript; compositions are HTML files with data attributes. No React requirement, no proprietary timeline format.
Agent-friendly: agents already write HTML, and the CLI is non-interactive by default.
Deterministic: same input, same frames, same output. Built for CI, regression tests, and automated rendering.
No build step: an index.html composition plays as-is and can be previewed directly in the browser.
Adapter-based animation: bring GSAP, CSS animations, Lottie, Three.js, Anime.js, WAAPI, or a custom runtime.
Open source: Apache 2.0 license, with no per-render fees or commercial-use thresholds.
HyperFrames vs Remotion
HyperFrames is inspired by Remotion. Both tools render video with headless Chrome and FFmpeg. The main difference is the authoring model: Remotion’s bet is React components; HyperFrames’ bet is plain HTML that humans and agents can both write easily.
HyperFrames is used in production at HeyGen, with community examples from teams like tldraw, TanStack, and others in ADOPTERS.md. Open a PR if your team is using HyperFrames.
The repo uses Git LFS for golden regression-test baselines under packages/producer/tests/**/output.mp4 (about 240 MB of .mp4 files). If you’re cloning the full repo for development, install Git LFS first:
# macOS
brew install git-lfs
# Ubuntu / Debian
sudo apt install git-lfs
# Windows
winget install GitHub.GitLFS
# Then, once per machine
git lfs install
If you only need source files, you can skip LFS content:
评论