Before you start

HeyGen’s CLI quickstart and portrait scaffold turn HTML and GSAP into a vertical video. Use the sample export as a reference for what the starter produces.

What you’ll make
The official editable portrait composition and a 10-second vertical MP4.
What you’ll need
Node.js 22.19+; npm; FFmpeg and ffprobe; working Chromium.

Step by step

  1. Install in a clean project

    Read HeyGen’s quickstart and CLI reference. Use Node.js 22.19 or later and install FFmpeg/ffprobe. Pin HyperFrames 0.10.10 to match the sample. Disable telemetry before running the starter.

  2. Build a seekable GSAP timeline

    Run the official init command below in an empty folder. Use --skip-skills to scaffold without installing agent skills. The portrait scaffold uses the author’s HTML and GSAP; keep it unchanged for the first run.

  3. Lint and render locally

    Run lint, then render. The runner needs a working Chromium; only if it reports a browser problem, point PUPPETEER_EXECUTABLE_PATH at an official, installed Chrome binary. Downloads of fonts or public assets are separate from authenticated generation.

  4. Verify the finished video

    Check the MP4 against the probe report. Only after the unmodified starter passes should you edit the paused GSAP timeline, rerender, and compare frames.

Commands

npm exec --yes --package=hyperframes@0.10.10 -- hyperframes telemetry disable
npm exec --yes --package=hyperframes@0.10.10 -- hyperframes init starter --non-interactive --skip-skills --resolution portrait
npm exec --yes --package=hyperframes@0.10.10 -- hyperframes lint starter
npm exec --yes --package=hyperframes@0.10.10 -- hyperframes render starter --fps 30 --workers 1 -o starter.mp4
ffprobe -v error -show_entries stream=codec_name,width,height,r_frame_rate,nb_frames:format=duration -of json starter.mp4

Sign-in & permissions

Local CLI requires no HeyGen login. Browser Studio and authenticated cloud render/share are separate. Use HeyGen’s agent plugin guide only for a supported client, and verify the permission scope before installing.

HeyGen’s plugin guide lists installation steps by agent. The CLI commands above work without an agent plugin.

Example video

Watch the official starter render

Silent H.264 export: 1080 × 1920, 30 fps, 10 seconds. Download video metadata.

Download MP4

Prompt for your agent

Use with: Coding agent with a terminal

Copy the whole prompt into a supported agent. After any manual step, tell the same agent to continue from that step.

Use a clean project folder for this workflow: Render HTML and GSAP to MP4. Supported setup: Coding agent with a terminal. Start from the original documentation: https://github.com/heygen-com/hyperframes#quick-start-for-developers.

1. SET UP
Check Node.js 22.19+, npm, FFmpeg, FFprobe, and a working Chromium. Use the pinned CLI commands shown below in an empty folder. This recipe skips agent skills; no plugin is required.

Documented commands or code reference (respect the comments and replace placeholders before running individual commands):
npm exec --yes --package=hyperframes@0.10.10 -- hyperframes telemetry disable
npm exec --yes --package=hyperframes@0.10.10 -- hyperframes init starter --non-interactive --skip-skills --resolution portrait
npm exec --yes --package=hyperframes@0.10.10 -- hyperframes lint starter
npm exec --yes --package=hyperframes@0.10.10 -- hyperframes render starter --fps 30 --workers 1 -o starter.mp4
ffprobe -v error -show_entries stream=codec_name,width,height,r_frame_rate,nb_frames:format=duration -of json starter.mp4

2. PAUSE FOR ME IF NEEDED
For a host install, sign-in, permission screen, or model download that needs my consent, stop and tell me the exact app, control and what will be authorized. Do not enter passwords, OTPs or secrets in chat. Resume after I confirm.

3. BUILD THE FIRST RESULT
Follow https://github.com/heygen-com/hyperframes#quick-start-for-developers and the commands on this guide. Use HyperFrames 0.10.10, scaffold the unmodified portrait starter, lint it, render starter.mp4 and save the FFprobe report. Acceptance: H.264, 1080 × 1920, 30 fps, 300 frames, 10 seconds. Do not sign into HeyGen or run cloud render. If the official starter fails, report the actual error and stop; do not substitute a different template .

4. CHECK THE RESULT
Lint the generated portrait project and confirm FFprobe reports H.264, 1080 × 1920, 30 fps and 10 seconds. Give me the actual file paths and anything that still needs a manual action. Do not publish or make a purchase.

Sources