|
| 1 | +--- |
| 2 | +title: "Make videos with Claude Code" |
| 3 | +sidebarTitle: "Claude Code" |
| 4 | +description: "Install the HyperFrames plugin in Claude Code, ask for a video in plain words, then preview and render it to MP4 on your computer." |
| 5 | +--- |
| 6 | + |
| 7 | +Install the HyperFrames plugin, then ask Claude Code for a video. Claude Code |
| 8 | +writes an HTML project in your folder, opens a live preview, and renders the MP4 |
| 9 | +on your computer. |
| 10 | + |
| 11 | +```bash |
| 12 | +claude plugin marketplace add heygen-com/hyperframes |
| 13 | +claude plugin install hyperframes@hyperframes |
| 14 | +``` |
| 15 | + |
| 16 | +## Before you start |
| 17 | + |
| 18 | +- [Claude Code](https://code.claude.com/docs), signed in with your Claude account |
| 19 | + or an Anthropic Console account. Its usage bills to that account. |
| 20 | +- Node.js 22 or newer, and npm. |
| 21 | +- FFmpeg, for rendering MP4 files. Run `npx hyperframes doctor` to check. |
| 22 | + |
| 23 | +## Install |
| 24 | + |
| 25 | +<Tabs> |
| 26 | + <Tab title="Plugin (recommended)"> |
| 27 | + Run the two commands above in your terminal. Then start a new Claude Code |
| 28 | + session, or run `/reload-plugins` in the current one. |
| 29 | + |
| 30 | + To get updates on their own, run `/plugin`, open **Marketplaces**, select |
| 31 | + **hyperframes**, and choose **Enable auto-update**. See |
| 32 | + [Install the HyperFrames plugin](/guides/plugins#claude-code) for manual updates and |
| 33 | + removal. |
| 34 | + </Tab> |
| 35 | + <Tab title="Standalone skills"> |
| 36 | + Run this in your project folder and choose **Core Skills**: |
| 37 | + |
| 38 | + ```bash |
| 39 | + npx skills add heygen-com/hyperframes |
| 40 | + ``` |
| 41 | + |
| 42 | + Or install the core set for your user, with no picker: |
| 43 | + |
| 44 | + ```bash |
| 45 | + npx hyperframes skills update |
| 46 | + ``` |
| 47 | + |
| 48 | + Start a new Claude Code session afterwards. See |
| 49 | + [Install and update agent skills](/guides/skills). |
| 50 | + </Tab> |
| 51 | +</Tabs> |
| 52 | + |
| 53 | +## Ask for your first video |
| 54 | + |
| 55 | +Open Claude Code in an empty folder and paste: |
| 56 | + |
| 57 | +```text |
| 58 | +Using /hyperframes:hyperframes, make a 10-second product intro for https://example.com. |
| 59 | +``` |
| 60 | + |
| 61 | +With standalone skills, the skill is `/hyperframes` instead of |
| 62 | +`/hyperframes:hyperframes`. Replace the URL with the page you want the video to |
| 63 | +show. |
| 64 | + |
| 65 | +## What happens |
| 66 | + |
| 67 | +1. Claude Code reads the HyperFrames guide for your kind of video, such as a product |
| 68 | + launch or an explainer, and builds the project in your folder. For a longer |
| 69 | + film that tells a story, it first offers three storylines to pick from. |
| 70 | +2. It checks the project and opens a local preview. |
| 71 | + |
| 72 | +Watch the first version and say what to change, in the same conversation. |
| 73 | + |
| 74 | +## Preview and render |
| 75 | + |
| 76 | +To reopen the preview later, run this inside the project folder: |
| 77 | + |
| 78 | +```bash |
| 79 | +npx hyperframes preview |
| 80 | +``` |
| 81 | + |
| 82 | +The preview opens in the browser editor, where you can also edit the video by |
| 83 | +hand. To make the MP4 yourself: |
| 84 | + |
| 85 | +```bash |
| 86 | +npx hyperframes render --output final.mp4 |
| 87 | +``` |
| 88 | + |
| 89 | +You can also ask Claude Code to render it. |
| 90 | + |
| 91 | +## Prefer an app? |
| 92 | + |
| 93 | +The [HyperFrames Studio app](/studio-app) for Mac and Linux can use Claude Code |
| 94 | +as its agent. It installs Claude Code for you and gives you a chat, a preview, |
| 95 | +and an editor in one window. To create inside the Claude chat app instead, with |
| 96 | +nothing installed, use the [hosted connector](/guides/mcp). |
| 97 | + |
| 98 | +## If something goes wrong |
| 99 | + |
| 100 | +- **Claude Code does not see the skill.** Start a new session or run |
| 101 | + `/reload-plugins`. For standalone skills, run `npx hyperframes skills check`. |
| 102 | +- **The render fails.** Run `npx hyperframes doctor` and fix what it reports. |
| 103 | +- **Anything else.** See [Troubleshooting](/help). |
| 104 | + |
| 105 | +## Related topics |
| 106 | + |
| 107 | +- [Make your first video](/quickstart) |
| 108 | +- [Choose what to make](/workflows) |
| 109 | +- [Write better prompts](/prompting/overview) |
0 commit comments