🎬 Write HTML. Render Video. Purpose-Built for AI Coding Agents. 🚀
Quickstart •
Showcase •
Playground •
Catalog •
Docs •
Discord
⚡ The Scoop & Community Buzz
HyperFrames is the open-source video rendering engine taking the AI developer world by storm! Created by HeyGen, HyperFrames flips traditional video creation on its head: instead of wrestling with heavy video editing GUIs or proprietary canvas formats, you write standard HTML, CSS, SVG, and GSAP animations, and HyperFrames renders them deterministically into pixel-perfect 4K 60FPS MP4 videos.
🔥 Why Developers & AI Agents are Obsessed:
- Native Web Stack: Use CSS Flexbox, Grid, Google Fonts, WebGPU, Three.js, and GSAP timelines.
- Agentic First: Comes with 20 modular, domain-specific AI skills (
SKILL.md) that teach AI agents (like Antigravity, Claude Code, Cursor, Windsurf, Gemini CLI) how to direct, script, layout, animate, and render videos autonomously.
- Zero Frame-Drift: Headless browser clock locking guarantees frame-accurate deterministic renders—no glitching, missing frames, or audio sync drift.
- Smart DSP Audio Engine: Automatic voiceover frequency carving dynamically dips music beds only when narration plays.
┌─────────────────────────────────────────────────────────────────────────────┐
│ THE OLD WAY vs. THE HYPERFRAMES WAY │
├─────────────────────────────────────────────────────────────────────────────┤
│ ❌ OLD: Heavy After Effects GUIs & complex React JSX frame hooks │
│ ❌ OLD: Slow export queues, manual keyframing, broken audio sync │
│ │
│ ⚡ HYPERFRAMES: Pure HTML/CSS/GSAP + AI Agent Prompting │
│ ⚡ HYPERFRAMES: Deterministic Headless Render Engine -> 4K MP4 Video Output │
└─────────────────────────────────────────────────────────────────────────────┘
🧠 How It Works: Engine Architecture
HyperFrames acts as a high-precision bridge between Web DOM timeline states and FFmpeg frame encoding.
graph TD
A[🤖 AI Agent / User Prompt] --> B[📝 HTML5 / CSS / GSAP Composition]
B --> C[⏱️ Deterministic Clock Lock Adapter]
C --> D[🌐 Headless Chromium Frame Stepper]
D --> E[🔊 Multi-Track Web Audio & Frequency Carving]
D --> F[🖼️ PNG/Raw Frame Buffer Stream]
E --> G[🎬 FFmpeg MP4 Encoder]
F --> G
G --> H[🎞️ Final 4K 60FPS MP4 Video]
Loading
Technical Blueprint Breakdown
| Component |
Function & Architecture |
Skill Router (/hyperframes) |
Evaluates user prompts and dynamically routes intent to specialized workflows (product-launch, faceless-explainer, pr-to-video, etc.). |
| Composition DOM Engine |
Manages data-clip, data-track, and data-duration attributes for precise timeline sequencing across DOM layers. |
| Deterministic Clock Lock |
Overrides requestAnimationFrame, performance.now(), and Web Audio clocks to ensure exact 60FPS frame stepping. |
DSP Audio Bus (<hf-audio-group>) |
Applies sidechain compression, EQ, limiter, and voiceover frequency carving to submix audio tracks. |
| Parallel FFmpeg Renderer |
Spawns headless browser worker threads to render frame buffers directly into h264/h265 MP4 files. |
📊 Real-World Hardware & Performance Math
HyperFrames is engineered for maximum throughput on local dev setups and cloud worker clusters.
| Metric / Constraint |
Value / Benchmark |
Engineering Detail |
| Minimum Runtime |
Node.js >= 22.0.0 |
Utilizes modern ES modules, WebSocket buffer streaming, and native V8 speedups. |
| System Dependency |
FFmpeg >= 6.0 |
Handles high-profile H.264 video encoding and Web Audio multi-bus multiplexing. |
| RAM Footprint |
~1.2 GB VRAM / Thread |
Per-thread Chromium instance for 1080p60 frame rendering. |
| Render Speed Benchmark |
3.2x Real-Time Speed |
Renders a 30-second 1080p60 promo in ~9.3 seconds on M-series Mac / modern x86 GPU. |
| Max Resolution |
Up to 4K (3840x2160) 60FPS |
Scalable to arbitrary resolution aspect ratios (16:9 landscape, 9:16 vertical shorts, 1:1 square). |
💻 Multi-Platform Installation Guide
HyperFrames supports CLI workflows and seamless integration across all major AI agent platforms—including Antigravity.
1. Antigravity AI Agent Setup (Recommended)
Antigravity automatically discovers and loads skills placed in your workspace .agents/skills/ directory or global ~/.gemini/config/skills/ folder.
Option A: Workspace Installation (Local Project)
To equip Antigravity with HyperFrames skills directly in your current workspace:
# 1. Initialize HyperFrames skills in the workspace .agents/skills subfolder
npx skills add heygen-com/hyperframes --all
# 2. Alternatively, update to the absolute latest main branch skills
npx hyperframes skills update
Option B: Global Antigravity Installation
To make HyperFrames video skills available across all Antigravity sessions globally:
# Clone or copy the hyperframes skills into your global Antigravity config
mkdir -p "$HOME/.gemini/config/skills"
npx skills add heygen-com/hyperframes --all
Once installed, Antigravity automatically reads the skill definitions, allowing you to ask Antigravity to generate, edit, and render videos directly in chat!
2. Other Agent & Editor Platforms
🤖 Claude Code / Cursor / Windsurf / VSCode
# Install HyperFrames skill package
npx skills add heygen-com/hyperframes
# Or install core router skill
npx hyperframes skills update
💻 Direct CLI (Manual Developer Workflow)
# Install HyperFrames globally or execute via npx
npx hyperframes init my-video
cd my-video
# Start live browser preview with HMR
npx hyperframes preview
# Render composition to final MP4 video
npx hyperframes render
🎯 5 Copy-Pasteable Antigravity Agent Prompts for Quick Videos
Here are 5 battle-tested prompts you can give directly to your Antigravity AI Agent to build stunning videos in minutes!
1. 🚀 Product Launch Promo Video
"Using /product-launch-video, build a 30-second high-energy marketing promo for my modern developer tool. Use dark obsidian aesthetics with electric cyan accents, a kinetic title reveal in the first 3 seconds, animated feature grid cards, background video elements, and beat-synced background music with dynamic voiceover frequency carving."
2. 📚 Faceless Technical Concept Explainer
"Using /faceless-explainer, create a 45-second faceless explainer video breaking down 'How Transformer Attention Mechanisms Work'. Invent abstract animated vector diagrams, code highlight boxes, typography callouts, crisp step-by-step flowcharts, and clear AI voiceover narration with matching captions."
3. 🎨 Kinetic Motion Graphics & Title Card
"Using /motion-graphics, create an 8-second broadcast-quality kinetic title sting and lower-third overlay for an upcoming tech podcast named 'Future AI Stack'. Use glowing typography, SVG geometric morphing, smooth GSAP easing, and output both an MP4 video and a transparent WebM overlay."
4. 🐙 GitHub PR Feature Release Reel
"Using /pr-to-video, inspect the latest GitHub PR diff in this repository and generate a 20-second video release note. Show an animated side-by-side code diff highlighting added lines in vibrant mint green, terminal execution output, author credits, and smooth scene transitions."
5. 🗣️ AI Subtitled Talking-Head Video with Embedded VFX
"Using /embedded-captions, take my raw talking-head footage interview.mp4, apply subject background matting locally, and embed 3D cinematic animated captions behind my head with highlighted kinetic word pops and subtle lower-third graphics."
🌟 5 Mind-Blowing Use Cases
- Automated Release Reels: Trigger GitHub Actions on PR merge to render a 15-second release reel with animated code diffs and post it to X/Twitter.
- Docs-to-Video Pipelines: Convert technical documentation pages automatically into engaging YouTube Shorts or TikTok tech explainers.
- Personalized Video Marketing: Programmatically render customized video pitches for thousands of prospective leads using HTML templates.
- Cinematic Podcast Clips: Turn long-form audio/video podcasts into viral social snippets with 3D captions embedded behind the speaker.
- Interactive Deck Rendering: Export pitch decks as both interactive HTML web presentations and rendered MP4 video demos.
🔮 5 Future Features & Ecosystem Roadmap
- 🟢 WebGPU Native Shader Pipelines: High-performance realtime post-processing and custom GLSL shader support directly in frame compositions.
- 🟢 Cloud rendering cluster (Serverless AWS Lambda / Cloud Run): Instant distributed rendering of 4K multi-minute videos in seconds.
- 🟢 Figma-to-Video Live Sync: Instant bi-directional sync converting Figma frames and variants directly into GSAP motion states.
- 🟢 AI Multi-Voice Cast Studio: Automated multi-speaker dialogue mixing with automated visual speaker tracking and dynamic sidechaining.
- 🟢 Interactive Live Stream Overlays: Realtime HTML/CSS motion graphics streamed over WebRTC / RTMP broadcast feeds.
🔗 Verified Source Links & Community Threads
🏷️ Keywords & SEO
HyperFrames AI Video Generator HTML to Video HeyGen Open Source AI Coding Agent Antigravity AI Claude Code GSAP Video Rendering Deterministic MP4 Generator Headless Chromium FFmpeg
Made with ❤️ for AI Agents & Developers. Powered by HyperFrames & Antigravity.