Notebook
Note
Download Markdown

Video Slide Creator

7 min read

This tool lets you build beautiful animated slides in HTML from text prompts and render them in MP4 video.

Summary

Instructions for ChatGPT Codex

Set up Visual Studio Code

Install Visual Studio Code Install the ChatGPT Codex extension and open it in the right sidebar. Log in to your ChatGPT account. In the left panel file manager, create a folder in your root folder called “Video Slide Creator” Right Click on the folder, Open Terminal Window

Install Command Line Package Installer

For Mac, Install Homebrew

Install Homebrew, which is a command-line package installer, by pasting in this command

Plaintext
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Let it run and complete. You’ll use this to install other packages over time. It needs to be updated periodically. Use the Codex chat window in VSC to help you do this or if you hit errors.

For PC, Install Winget

WinGet (Windows Package Manager) is pre-installed on Windows 11 and modern Windows 10 versions. Access it by typing winget in Terminal, PowerShell, or Command Prompt. If missing, install it by updating “App Installer” in the Microsoft Store or downloading the latest version from the official GitHub releases page.

In Visual Studio Code open a terminal window (In the left sidebar, select your root folder, “Video Slide Creator”, then Right Click on the folder, select Open Terminal Window)

Verify/Run: Type winget --version and press Enter to confirm installation

Plaintext
winget --version

Install Node.js

Hyperframes requires Node.js, which is a powerful development framework that you’ll probably end up using for lots of other things. You need to install it first

In ChatGPT Codex chat type: Install Node.js 22+ It will guide you through installing Node.js

Or

Mac - paste this into terminal

Plaintext
brew install node

PC - paste this into terminal

Plaintext
winget install OpenJS.NodeJS.LTS

Verify the Installation

After the installation is complete, you must restart your terminal (close and reopen it) to update your system’s PATH. Then, run these commands to verify: 

Install the Hyperframes package via terminal

Then install HyperFrames from GitHub https://github.com/heygen-com/hyperframes

You do this by pasting this command into terminal

Plaintext
npx skills add heygen-com/hyperframes

Install all the Hyperframes packages.

PackageDescription
hyperframesCLI — create, preview, lint, and render compositions
@hyperframes/coreTypes, parsers, generators, linter, runtime, frame adapters
@hyperframes/engineSeekable page-to-video capture engine (Puppeteer + FFmpeg)
@hyperframes/producerFull rendering pipeline (capture + encode + audio mix)
@hyperframes/studioBrowser-based composition editor UI
@hyperframes/playerEmbeddable <hyperframes-player> web component
@hyperframes/shader-transitionsWebGL shader transitions for compositions
It presents a simple text based menu of options as it installs. Use the up-down arrows on your keyboard to move up and down between the options. I think it says to tap the space bar to toggle the selction on and off. Then you hit Enter to save and go to the next question. Choose Codex if it’s not part of the default package.

HyperFrames Skills

HyperFrames ships skills that teach AI agents framework-specific patterns that generic docs don’t cover.

SkillWhat it teaches
hyperframesHTML composition authoring, captions, TTS, audio-reactive animation, transitions
hyperframes-cliCLI commands: init, lint, preview, render, transcribe, tts, doctor
hyperframes-registryBlock and component installation via hyperframes add
website-to-hyperframesCapture a URL and turn it into a video — full website-to-video pipeline
gsapGSAP animation API, timelines, easing, ScrollTrigger, plugins, React/Vue/Svelte, performance
For Codex install the Codex Skills package to get these.
Plaintext
codex plugin marketplace add heygen-com/hyperframes --sparse .codex-plugin --sparse skills --sparse assets

For Claude they come with the initial install.

Install the FFmpeg video rendering engine

Install the most popular video rendering package (FFmpeg) by pasting this into terminal

On Mac

Plaintext
brew install ffmpeg

On PC

Plaintext
winget install -e --id Gyan.FFmpeg
  1. Restart Terminal: Close and reopen your terminal to refresh environment variables so the ffmpeg command is recognized.

Add your design book to the folder

Copy your brand design book into the “Video Slide Creator”

Choose source content and place it in the folder. It could be

You could try with other sources like PowerPoint, PDF, Word documents, but I haven’t tried that yet. I’ve tried a text file of dictation and a web page, and both were successful.

Prompts

In the Codex Chat in VSC enter a prompt like

Plaintext
Using /hyperframes, create a video slideshow using content from [filename] and use /Design Book as the template for design and styling
Plaintext
Using /hyperframes, create a sample sales video slideshow using content off the [insert URL] web page and use "Design Book" as the template for design and styling. Add at least two slides showing cool sample animations or animated icons

Stylistic direction you could add to your prompt

Plaintext
add liquid glass cards, dynamic elements, and subtitles

You might need to paste the full path to your design book into Codex Chat.

Preview

To preview the output in HTML, type this into Codex Chat:

Plaintext
run hyperframes preview

or paste this into the terminal

Plaintext
npx hyperframes preview

This starts the Hyperframes Studio and opens your composition in the browser. Edits to index.html reload automatically.

Other prompt examples:

Iterate — talk to the agent like a video editor

Make the title 2x bigger, swap to dark mode, and add a fade-out at the end.

Add a lower third at 0:03 with my name and title.1

Render to video

The default HyperFrames composition size: is 1920 × 1080 (set by data-width / data-height on the root div — that’s what HyperFrames renders out at by default). You can change it. Ask Codex to help you.

To render above 1080p you need to instruct it to change the composition.

In Codex type

Plaintext
Render at 1440p

or whatever resolution you want.

The estimated render times and file sizes below are specific to a five slide example about 40 seconds long. If you have a lot more slides, then expect render times and file size to be much bigger.

OptionResolutionPixels vs 1080pRender time (est.)File size (est., 40s H.264)
Keep as-is1920 × 1080~1 min~15 MB
1440p QHD2560 × 14401.78×~2 min~25–35 MB
4K UHD3840 × 2160~4–5 min~60–90 MB
4K DCI4096 × 21604.3×~5 min~65–95 MB

Documentation

Quickstart shows sample prompts

Full documentation at hyperframes.heygen.com/introduction — Quickstart | Guides | API Reference | Catalog

Power User Examples

Nate Herkelman on LinkedIn - intro to HyperFrames Nate’s video on how to

Nate’s post on adding in a tool to remove stutters and mistakes in your audio Full video