Render deterministic MP4 videos from HTML, CSS, and JavaScript animations using a CLI and agent-friendly framework.
HyperFrames is an open-source framework from HeyGen for turning web technologies like HTML, CSS, and JavaScript into MP4 videos. It's built for developers and AI agents to solve the problem of creating deterministic, programmatic video content. By defining video compositions in simple HTML files, users can automate the production of anything from product demos to data visualizations, ensuring the same input always produces the same output.
A user defines a video composition as an HTML file, using data attributes to specify timing, tracks, and media sources. Animations are added via seekable JavaScript libraries. The HyperFrames CLI uses Puppeteer to control a headless Chrome browser, seeking to and capturing each frame individually. It then uses FFmpeg to encode these frames and mix audio into a final MP4 video. The framework is open-source and primarily delivered as a CLI tool.
This tool is best for developers and teams who need to programmatically generate videos, especially in automated CI/CD pipelines or via AI agents.
HyperFrames is built around a plain HTML authoring model. Teams heavily invested in a React-based component workflow might find a tool like Remotion to be a more natural fit.