# HeyGen开源HyperFrames：AI代理可将代码转为视频

- 来源：Rohan Paul (@rohanpaul_ai)
- 发布时间：2026-04-17 02:52
- AIHOT 链接：https://aihot.virxact.com/items/cmo1w13kf007vslba81d79vli
- 原文链接：https://x.com/rohanpaul_ai/status/2044851401118138572

## AI 摘要

HeyGen开源AI视频渲染框架HyperFrames，支持AI代理将HTML/CSS/JS代码转为MP4等格式。该工具摒弃传统时间线，利用数据属性控制动画时序与图层，兼容GSAP、Lottie、Three.js等Web动画库。HeyGen团队已使用Claude Code配合该框架完成官方视频制作。开发者可通过npx命令安装，实现代码到视频的自动化生成。

## 正文

HeyGen just open-sourced HyperFrames， it lets AI agents turn HTML， CSS， and JavaScript into MP4， MOV， or WebM video from the terminal.

An AI-agent-first renderer for video.

You describe the video， the AI-agent writes HTML/CSS/JS， and HyperFrames turns that code into a real MP4 video.

The idea is that agents already know the web stack far better than timeline video-editors， so HyperFrames adds a small set of data attributes for timing， layering， and composition， then hands animation to familiar browser tools like GSAP， Lottie， Three.js， and standard CSS.

### 引用推文

> HeyGen：We built our launch video in Claude Code using HyperFrames. Now it's yours. Open source, agent-native framework. HTML to MP4. $ npx skills add heygen-com/hyperf...
