Make animated UI videos with Claude, in your own brand.
A complete, step-by-step guide to making polished, animated, interface-led videos with Claude: sales videos (VSLs), product intros, software demos, launch films and feature explainers. Everything here is free and runs on your own computer.
It's written from a real project: an 81-second sales video for a service that answers real estate agents' leads, built in one working session in the website's own fonts, colours, photos and interface, rendered to a 1920 × 1080 MP4 and embedded on the site with its own player. Every command, folder, prompt and fix below is what was used, then generalised so you can make any video in the same style.
Free guide·Your first video in an afternoon·Free tools
In this guide
- 01What you will make
- 02How it works
- 03Setup: the tools
- 04Setup: the two folders and what Claude can access
- 05The workflow, step by step
- 06The motion language: words that get the right result
- 07How to brief the animation
- 08Sound: voice and effects
- 09Checking, reviewing and rendering
- 10Putting the video on your website
- 11Other kinds of video in the same style
- 12Do's and don'ts
- 13Troubleshooting
- 14The skill: the same process, done for you
- 15Appendix: templates
1. What you will make
The style is animated product interface rather than filmed footage. Think of the videos software companies make for launches: real screens and cards that build themselves, a camera that glides between them, short lines of large type on a clean white canvas, numbers that count up, and sound effects that land exactly on each action. No stock footage of people pointing at laptops, no glowing particles, no bouncing text.
The example video runs like this:
| Time | What happens |
|---|---|
| 0 to 6 s | A phone lock screen at 11:48 PM over a city at night. A buyer's text arrives with a buzz. The camera pulls back to show the same text arriving on three phones. |
| 6 to 18 s | Another agent replies first and books the showing. The clock on "your" phone rolls to 8:02 AM. A missed call arrives. The camera zooms through the screen into an inbox where new mail pushes the lead out of sight. |
| 18 to 27 s | Everything rewinds to 11:48. The same text opens into a chat, gets an answer in four seconds, and a "Showing booked" card slides in. |
| 27 to 40 s | A line of text on a white canvas, then one continuous camera flight across four product cards (calls, messages, inbox, booking), each acting out its job as the voice names it. |
| 40 to 48 s | A setup card: a cursor clicks Approve. A seven-day strip fills and day seven turns green. |
| 48 to 58 s | Two numbers count up with real client faces. A client's website appears and the camera zooms into it. |
| 58 to 69 s | The client's own video testimonial, with each word of the quote lighting up as he says it. |
| 69 to 81 s | Two short lines on white, then a photo card grows to fill the frame and a cursor clicks the booking button. |
What made it work:
- It was built from the brand's real material: the same fonts, colour values, photos, icons and interface components as the website.
- One story ran through the whole film (one buyer's text, missed, then answered), so every scene had a reason to exist.
- The motion was calm and precise: long, soft arrivals, short exits, blur instead of slides, and transitions that came out of something already on screen.
- The voice set the timing, word by word.
2. How it works
You talk to Claude Code. Claude writes the video as web pages (HTML and CSS, animated with GSAP), and a free tool called HyperFrames plays those pages frame by frame in a hidden Chrome browser and records them to MP4. Because product interfaces are already HTML and CSS, Claude can rebuild your real screens in the video with your real fonts and colours, instead of drawing imitations.
The pieces:
| Tool | What it does here | Cost |
|---|---|---|
| Claude Code (desktop app or terminal) | Writes the script, the scenes, the timing and the fixes, and runs every command | Your Claude plan |
| HyperFrames | Turns HTML, CSS and GSAP into video; checks layout, timing and contrast; takes snapshot sheets; renders MP4 | Free and open source (Apache 2.0) |
| GSAP | The animation library inside each scene | Free |
| FFmpeg | Cuts, trims, rotates, converts and measures audio and video | Free |
| faster-whisper | Transcribes the voiceover into word-by-word timings | Free, runs on your computer |
| Sound effect libraries | The HyperFrames bundled library, plus Openverse for anything missing | Free (CC0, CC BY and the Pixabay licence) |
| Your website or design files | Fonts, colours, components, photos, copy | Yours |
Optional extras: Remotion (a React alternative to HyperFrames), yt-dlp (to download reference videos), Kokoro (a free text-to-speech voice that runs on your computer), and HeyGen (paid voices, music and avatars, through a HyperFrames sign-in).
Why HTML instead of a video editor: every frame is a function of time, so a render is identical every time; you can change a word, a colour or a timing by asking; and the interface in the video is your real interface, not a screenshot that blurs when the camera moves in.
3. Setup: the tools
You need a computer that can run Chrome. The example was made on a 2016 Windows laptop (4-core Intel i7, 8 GB of memory). An 81-second, 1080p render took under four minutes.
3.1 Install
Claude Code. Install the Claude desktop app and use the Code tab, or install the command-line version. Both work the same way for this.
Node.js. Install the current long-term support version from nodejs.org. HyperFrames runs through npx, which comes with Node.
FFmpeg.
- Windows:
winget install -e --id Gyan.FFmpeg, then open a new terminal. - macOS:
brew install ffmpeg. - Check it with
ffmpeg -version.
Python (for transcription). Install Python 3.12, then in your video workspace:
python -m venv _engine/.venv _engine/.venv/Scripts/pip install faster-whisper "av<16"
On macOS and Linux the path is _engine/.venv/bin/pip. Keep av below version 16: newer versions break audio decoding in faster-whisper 1.2.
HyperFrames. Nothing to install globally. In your workspace:
npx hyperframes init _engine/hyperframes npx hyperframes skills npx hyperframes doctor
init creates a starter project and installs the HyperFrames skills for Claude (the instructions that teach Claude the engine's rules). skills installs or updates them for your coding tools. doctor checks Chrome, FFmpeg, memory and the optional extras, and tells you exactly what to install for anything missing. HyperFrames downloads its own copy of Chrome the first time it renders.
Pin a version per project so a render made next month matches today's: npx hyperframes@0.9.39 render (use whatever version doctor reports when you start).
Optional.
- Local voice:
pip install kokoro-onnx soundfile, thennpx hyperframes tts. - Local music:
pip install transformers torch soundfile numpy(slow on most laptops; most people skip music for this style anyway). - Downloading references:
winget install yt-dlporbrew install yt-dlp. - Usage data: HyperFrames records anonymous usage;
npx hyperframes telemetryshows and changes that.
3.2 What each tool needs from you
- HyperFrames needs nothing but the folder.
- Transcription downloads a speech model the first time (the "small" model is about 460 MB; "medium" is about 1.5 GB and much slower on a laptop). "small" is accurate enough for a clean voiceover.
- HeyGen features need a sign-in and, for most, credits. Nothing in this guide requires them.
4. Setup: the two folders and what Claude can access
This is the most important idea in the guide. You give Claude two folders at once:
- 01The brand source: your website's code, your app's code, or a folder of design exports. This is where the fonts, colour values, components, photos, icons and copy live.
- 02The video workspace: a separate folder with the video tools, raw footage, references and renders.
Why separate: the video tools and large media files don't belong in your website's code, and your website's code shouldn't be copied into the video folder by hand. With both folders open, Claude reads the brand from one and builds the video in the other.
4.1 The video workspace
Create this structure once and reuse it for every video:
Videos/
CLAUDE.md What's here, which tools to use, the rules
Uploaded Clips/ Raw footage and voiceovers. Read-only: never overwrite originals
Inspiration/ Reference videos to study, never edit
Editor - playground/ Scratch space: trims, transcripts, test frames. Safe to clean
Output/ Final MP4s only
_engine/
hyperframes/ The HyperFrames starter project
remotion/ Optional
.venv/ Python with faster-whisper
scripts/transcribe.py Word-level transcription
Project name/ One folder per video
SCRIPT.md The script and storylines
video/ The HyperFrames project for this video
index.html The root: scenes, voice, sound effects
compositions/ One file per scene
assets/ fonts, photos, faces, voice, sfx, clips
SPEC.md The director's brief, in numbers
REVIEW.md What was checked and what is weakestThe CLAUDE.md at the top is what makes Claude fast in this folder. It lists the folders, the tools and how to run each one, the machine's limits, export presets and the rules (for example: never overwrite anything in Uploaded Clips; do test renders in the playground; final files only in Output). A complete template is in the appendix.
4.2 Giving Claude access
In the Claude desktop app, open the brand source folder as the session's folder, then attach the video workspace by mentioning it in your message (type @ and pick the folder) or by adding it as an extra folder for the session. In the terminal version, start Claude in the brand folder and add the workspace with claude --add-dir "path/to/Videos".
Then tell Claude why both are there. The message that started the example was, in substance:
Use this attached folder to create a VSL for this website. That folder already has all the libraries and integrations installed to create and export videos as MP4 in high quality. I'm telling you here instead of using that folder directly because this website folder has all the assets, design style, branding, typography, animation and visuals, so the video is in the same style as the website. Prepare a good script and tell me if you can create a short 16:9 video.
What Claude can then do on its own:
- Read the site's stylesheet for exact colour values, shadows, corner radii and type sizes.
- Copy the site's own font files (for a Next.js site, the built, self-hosted fonts sit in
.next/static/media; the stylesheet in.next/static/chunksmaps each file to its family and weight). - Pull original, uncompressed images out of the git history if the live ones were compressed.
- Extract icon shapes from the icon package the site uses (for example Phosphor), so icons in the video match the site exactly.
- Read the components (cards, chat bubbles, buttons, calendars) and rebuild them in the video at about twice their size, so text stays readable on a phone.
- Read the page copy, so every claim in the video is one the site already makes.
4.3 Permissions
Claude asks before running commands unless you allow them. For a video session it is reasonable to allow npx hyperframes ..., ffmpeg ..., ffprobe ... and the transcription script. Keep your website's deploy steps (pushing, merging) under your own approval.
5. The workflow, step by step
Ten steps. Each one lists what you do, what to ask Claude, and what Claude should produce.
Step 1. The brief and the script
Decide four things before any animation:
- The one thing: what the product does, in one line. ("An assistant that answers every lead in seconds, even when you're at a showing.")
- The one thing the viewer should remember, in their words. ("If I don't answer first, someone else gets the showing.")
- The spine: one person doing one real task, and one piece of data that travels through the whole film. In the example: one buyer named Jessica, one text at 11:48 PM about one listing.
- The length and shape: 60 to 90 seconds for a VSL, 20 to 45 seconds for a launch film.
Ask Claude to write the script from your page's own claims only. A good VSL shape:
| Beat | Share | Job |
|---|---|---|
| Hook | about 8% | A real moment that creates the need |
| Problem | about 15% | The old way failing, on screen |
| Turn | about 10% | The same moment, solved |
| What it does | about 20% | The product acting, one verb per beat |
| How you start | about 15% | Setup, effort, time to live |
| Proof | about 15% | Numbers and a real client in their own words |
| Offer and close | about 15% | Terms, scarcity if true, the call to action |
Pacing: a voice reads about 150 words a minute. 170 words is roughly 75 to 85 seconds once pauses and a testimonial clip are added. Write the voiceover as short sentences with natural pauses, because every pause becomes a cue point for the animation.
Rules that keep the script honest:
- Every claim must already be on your page. Illustrative names, prices and dashboards are labelled as samples, the same way the page labels them.
- A testimonial about one thing (for example, a website) is never presented as proof of another (for example, the assistant). Say "said about working with us".
- The screen never repeats the spoken sentence word for word. The voice says "she gets an answer in seconds"; the screen says "Every lead gets an answer in seconds."
Step 2. Three storylines, then one
Ask Claude for three different films, not three titles on one film. Each needs its own device and form:
- A moment, then a rewind (the example): the problem plays out, then the film visibly rewinds and plays it right.
- Before and after, split screen to one: two phones side by side, the left one ignored, the right one answered, then the split collapses into the right one.
- Founder on camera with overlays: you talk to camera, and the product cards pop in beside you as you mention them.
Pick the one a stranger would follow and remember. Claude saves all three in the script file so you can switch later.
Step 3. The voice
Options, best first:
- 01Your own voice, recorded on a phone in a small room with soft furnishings (a wardrobe full of clothes is ideal), a hand's width from your mouth. Read each section as its own take, twice.
- 02A text-to-speech website. The example used a neural "Andrew" voice from a free online text-to-speech site. It sounds natural and costs nothing.
- 03A local voice, Kokoro, through
npx hyperframes tts. Free, private, slightly flatter. - 04HeyGen voices, through the HyperFrames sign-in. Paid.
One mistake to avoid: paste only the spoken words into the text-to-speech tool. In the example, a stage direction ("then seven seconds of the client's video") was read out loud. It was cut out afterwards using the word timings, but it is easier not to record it.
Put the file in Uploaded Clips and tell Claude. Claude copies it, never edits the original.
Step 4. Transcribe: the voice is the clock
Claude transcribes the voiceover with word timings:
_engine/.venv/Scripts/python.exe _engine/scripts/transcribe.py "Uploaded Clips/voiceover.mp3" --model small --language en --out "Editor - playground/my-video"
This writes .srt, .vtt and .words.json (every word with its start and end in seconds). Every scene and every important animation is then anchored to a word: the notification lands on "texts", the reply lands on "answer", the click lands on "below". This is why the video feels synced without any manual editing.
The same timings let Claude cut a spoken mistake out precisely, splice in a testimonial clip, and light up a quote word by word.
Then Claude levels the voice so it plays at a consistent loudness:
ffmpeg -i "Uploaded Clips/voiceover.mp3" -af "loudnorm=I=-16:TP=-1.5:LRA=11" -ar 48000 -ac 1 assets/voice/vo.wav
Step 5. Gather the brand's real material
Ask Claude to copy, not redraw:
- Fonts: the actual font files, declared with
@font-facein the video. A font the engine doesn't bundle must be a local file, or the render falls back to something else. - Colours, shadows, radii, type scale: read from the stylesheet and written into the video's shared styles as the same variables.
- Photos: originals at full size. If the site compressed them, Claude can recover the originals from git history (
git show main:public/photos/house.webp > assets/photos/house.webp). - Icons: the exact shapes from the site's icon package.
- Interface: the components rebuilt at 1.75 to 2 times their web size. Text inside the video should never be smaller than about 26 pixels at 1080p.
- Testimonial clips: trimmed to the quote, turned upright if they were filmed on a phone, and levelled to the same loudness as the voice:
ffmpeg -ss 23.10 -i "Uploaded Clips/review.mp4" -t 10.95 -vf "scale=720:1280,fps=30" -af "loudnorm=I=-16:TP=-1.5:LRA=11,afade=t=in:d=0.12,afade=t=out:st=10.75:d=0.2" -c:v libx264 -crf 16 -pix_fmt yuv420p -g 15 -c:a aac -b:a 192k assets/clips/quote.mp4
(FFmpeg reads the phone's rotation flag and bakes the upright picture in, which avoids sideways video in the render.)
Step 6. The spec: every adjective becomes a number
Before any scene, Claude writes SPEC.md: the film as a director's brief with numbers wherever you would have used an adjective. "Premium and clean" becomes a ground colour, a type size, an ease name and a duration. This is what stops the video drifting into generic defaults. The example's spec included:
- Ground:
#fdfdfcpaper with the site's dashed column lines; photo scenes under the site's dark fade. - Ink and accent: ink
#212223; green#16a34aonly on "Showing booked", "Approved", "Live" and check marks. - Type: Inter 600 at 72 to 96 px for lines, 220 to 300 px for numbers, never under 26 px for interface text.
- Arrivals:
expo.out, 0.7 to 0.9 s, blur 12 px to 0, no movement. - Camera:
power2.inOut, 0.9 to 1.2 s. - Zoom through:
power3.in, about 0.55 s. - Exits: 0.3 to 0.45 s, blur and fade.
- Staggers: list rows 70 ms, words 80 ms, faces 90 ms.
- Banned: a dark void with floating cards, glow and particles, everything sliding up, bounce, stomp, three cards in a row, titles that drift after they land, music.
- Shots and checkpoints: a line per shot with its frame range, its hero move and its hand-off to the next shot, plus a list of frames to check.
A template is in the appendix.
Step 7. Build the scenes
Claude builds one file per scene in compositions/ and a root index.html that holds the scenes, the voice and the sound effects. Shared styles (fonts, colour variables, the paper ground, phone, chat bubbles, cards, pills) live once in the root, so every scene matches.
Things that make the build fast and the result good:
- A persistent ground. The paper background with its dashed lines sits under every scene in the root. Scenes on paper then join without any visible cut.
- Camera wrappers. Each scene puts its content inside one wrapper that the camera moves (scale and position), so pull-backs, push-ins and zooms are one tween each.
- Measured once, not per frame. Positions the animation needs (where a button is, how tall a notification is) are read once when the scene loads, never inside an animation callback.
- Hidden things start hidden in CSS. An element that should appear later is invisible in its stylesheet, not only by a script command at time zero (see Troubleshooting).
Step 8. Sound effects
No music in this style, unless you want it. A small set of effects, each with a cause on screen, placed so its loudest point lands one frame after the picture. Details in section 8.
Step 9. Check and review
Claude runs npx hyperframes check, fixes every error, then takes snapshot sheets of every scene, every transition and the whole film at phone width, and writes a ranked list of problems. Details in section 9.
Step 10. Render and deliver
npx hyperframes render --quality delivery --workers 3 --output "Output/My video.mp4"
Then Claude measures the finished file's loudness and silences, and checks a few frames. The example rendered 2,436 frames in 3 minutes 40 seconds and came out at 26 MB.
6. The motion language: words that get the right result
These are the words to use when you ask for motion, with what each one means in practice. Claude understands all of them; the numbers make sure it does them the same way every time.
6.1 Feel
| Say | It means |
|---|---|
| Apple-like eases | Arrivals on a long, soft tail (expo.out or power4.out), camera moves that ease in and out (power2.inOut), zooms through an element that accelerate (power3.in). Never the same ease on everything. |
| Blur appear | An element arrives by going from 12 px blur and zero opacity to sharp and fully visible in 0.5 to 0.8 s, without moving. The single most useful effect in this style. |
| Blur out | The exit: 0 to 10 px blur and fade in 0.25 to 0.4 s. Exits are about half as long as entrances. |
| Stagger | Similar items arrive one after another: words 60 to 100 ms apart, list rows 40 to 80 ms, faces or tiles 60 to 90 ms. |
| Land, then hold still | A title arrives and does not move again until it leaves. No drifting, breathing or floating. |
| Calm, not jumpy | No bounce, no overshoot, no shake, no stomp (a heavy slam with a bass hit). Springs, if any, never bounce. |
| Read time | A line stays on screen at least 0.5 s plus 0.3 s per word. |
| One hero move | Each shot has one main movement. Anything else moves less and starts 100 to 200 ms later. |
6.2 Transitions that come from the picture
| Say | What it looks like | How it's built |
|---|---|---|
| Zoom through an element | The camera dives into the phone screen (or a button, a card, a browser window) until it fills the frame, and the next scene starts on its colour | Scale the camera wrapper to about 4.5× on the element's centre with power3.in in 0.55 s, fade the element's inside to the next scene's ground colour, then switch scenes on that flat colour |
| Object becomes the world | A small card in the middle grows until it is the whole frame | Animate clip-path: inset(...) from a small rounded rectangle to the full frame in 0.65 to 0.8 s, power2.inOut, while the photo inside settles from 1.12× to 1× |
| Colour flood | The subject stays while the background changes colour (dark to paper) | Fade the scene's own background layer out over 0.3 to 0.4 s, revealing the paper underneath, then let the subject leave |
| Blur swap on one stage | One layout blurs out, the next blurs in, and the paper never changes | Exit with blur and fade in 0.25 s, enter with blur appear |
| Camera flight across an infinite canvas | All the cards sit on one large board; a top-down camera glides from one to the next, centring each as the voice names it, while the rest of the board blurs | Put the cards on one board inside a camera wrapper with transform-origin: 0 0; compute each card's centre; move the camera with power2.inOut in 0.7 s; add a brief blur on the board during the move; set the other cards to blur and lower opacity while one is in focus |
| Rewind | Everything plays backwards fast to an earlier moment | Reverse the recent changes in quick succession (rows collapse, the zoom comes back out, notifications retract, the clock rolls back) over about 1.5 s with a light blur, and a reversed whoosh under it |
| Carry across | A result shrinks and lands inside the next screen | Scale 1 to 0.6 with blur peaking mid-move, landing where the next layout builds around it |
| Morph | One container widens into the next (a notification opens into the full chat) | Animate clip-path from the notification's rectangle to the full screen in 0.55 s, power3.out |
| Match cut | One shape stays while everything around it changes | Keep the element's position and size identical across the cut |
| Whip | A fast horizontal smear into the next shot | A 0.15 to 0.3 s move with horizontal blur; the new element lands blurred and sharpens |
Use three to five kinds of transition in one film, each caused by something on screen.
6.3 Devices for showing a product working
| Device | Use it for |
|---|---|
| Notification stack | Messages piling up; the newest pushes the older ones down |
| Chat thread that scrolls | A conversation being answered: typing dots, then the reply, then the next message, with the thread scrolling up like a real phone |
| Number roll | Time passing (a clock rolling from 11:48 to 8:02 like a slot machine) |
| Count-up | A real number landing (0 to 30+ clients in 1.3 s, then still) |
| Word-by-word highlight | A quote lighting up from grey to white as the person says each word, using the transcript timings |
| Cursor click | A large arrow cursor (about 64 px) glides in, presses (scale 0.96 for 80 ms) and the click causes the next change on the same frame |
| Fuel or progress fill | A strip or button filling left to right to show something loading or unlocking |
| Day strip | A short timeline (Day 1 to Day 7) filling tile by tile, the last one turning the accent colour |
| Pill or chip | A short status ("Replied in 38s", "Showing booked") blurring in, with a soft pop |
| Waveform | Bars moving while a call is answered |
| Toast | A confirmation card sliding up from the bottom of a phone |
| Split screen | Two versions side by side before collapsing to the one that matters |
6.4 Layout words
- Minimal white canvas: a line of large type on the paper ground with nothing else, used between busy interface scenes.
- Title-safe and action-safe: keep reading text inside the middle 80% of the frame, everything else inside 90%.
- Hierarchy: one focal point per frame; a label above a big line; muted secondary text; one accent word at most.
- The site's column: if your site uses visible column lines or a grid, put them in the video's ground and align text to them.
7. How to brief the animation
Describe the feel with words from section 6, name what to avoid, and say how scenes should join. The direction used in the example was, in substance:
Don't make it too jumpy or bouncy. Focus on visuals, UI, charts and numbers, with a minimal white canvas for some text-only lines. Apple-like eases, blur appear effects, and staggered animation when similar or list items appear. No stomp effect. Transitions with no visible cut: zoom into a certain element when it can lead to the next scene, so the transition comes from inside what's on screen. No background music; just sound effects that sync naturally with the animation and effects.
Why this works: it names a feel (calm, product-led), the materials (UI, charts, numbers, white canvas), the techniques (eases, blur appear, stagger, zoom-through transitions), the bans (bounce, stomp, music) and the sound rule. Claude turns that into numbers in the spec.
A reusable brief:
Make a [length] [16:9 / 9:16] video for [product] aimed at [audience]. Use the brand from [this folder / this URL]: same fonts, colours, components and photos. Story: [one person] doing [one task], from [the moment they need it] to [the result]. Voice: [my file in Uploaded Clips / write a script for me to record]. Style: calm and precise. Apple-like eases, blur appear, staggered lists, long soft arrivals, short exits. Interface and numbers carry the story; text-only lines on a white canvas. Transitions: come from what's on screen (zoom through an element, object becomes the world, camera flight across a canvas of cards with the rest blurred). Three to five kinds in total. Avoid: bounce, stomp, shake, glow, particles, dark empty backgrounds, everything sliding up, three cards in a row, a logo in the corner. Sound: [no music / quiet music], effects synced to visible actions only. Show me the script first, then build, check, review and render to Output.
Ways to give feedback that Claude acts on precisely:
- Select the element. In the desktop app's browser pane, select the element you mean and describe the change. Claude gets the exact element and its styles.
- Name the time. "At 40 seconds the setup card has too much empty space."
- Name the problem, not the fix, unless you know the fix. "The grey frame after the testimonial looks muddy" let Claude choose to keep the video on screen while the background changed.
- Use the words above. "Make the transition into the inbox a zoom through the phone screen."
8. Sound: voice and effects
8.1 The voice
Covered in steps 3 and 4. The voice is levelled to about −16 LUFS. A testimonial clip gets the same treatment so the two sit together.
8.2 Where effects come from
- The HyperFrames bundled library: about twenty short, licence-free files (whoosh, short whoosh, pop, click, soft click, chime, ping, notification, typing, key press, riser and a few impacts). Pixabay licence: free for commercial use, no credit needed.
- Openverse: anything else, searched by description and filtered to CC0 and CC BY:
npx hyperframes media-use resolve --type sfx --intent "phone vibrate buzz" --json
The example found a public-domain phone buzz this way. Name the sound concretely ("phone vibrate buzz", not "notification sound"). If nothing suitable is found, it falls back to the bundled library. Keep a CREDITS.md beside the files; CC BY sounds must be credited where you publish.
- Variants you make yourself: the same effect three times in a row is the most common tell. Make variants with FFmpeg:
ffmpeg -i pop.mp3 -af "asetrate=44100*1.12,aresample=48000" pop-hi.wav # higher ffmpeg -i pop.mp3 -af "asetrate=44100*0.9,aresample=48000" pop-lo.wav # lower ffmpeg -i whoosh-cinematic.mp3 -af "areverse,silenceremove=start_periods=1:start_threshold=-50dB,atrim=0:1.8,afade=t=in:d=0.25,afade=t=out:st=1.55:d=0.25" rewind.wav ffmpeg -i buzz.mp3 -t 0.45 -af "volume=12dB,afade=t=out:st=0.36:d=0.09" buzz-short.wav
A reversed whoosh makes a convincing rewind.
8.3 Which effect, where
| Effect | Only on |
|---|---|
| Phone buzz | A message or call arriving on a phone |
| Pop (three pitches, rotated) | A chip, bubble, row or number landing |
| Soft whoosh | A camera move or a scene change (rotate two or three takes) |
| Click | A real cursor click |
| Soft key ticks | A clock rolling, a strip filling, text typing |
| Chime or ping | A success moment: booked, approved, live (use sparingly) |
| Reversed whoosh | A rewind |
Few and exact. If an effect has no visible cause, remove it.
8.4 Timing to the frame
Each sound file has its loudest moment a little after it starts. Measure it:
npx hyperframes audio assets/sfx/pop.mp3 --json
The result includes moments.peak (seconds from the start of the file). Then place the effect so the peak lands one frame after the picture:
start = time the picture happens + 0.033 − peak
Light arrives before sound in real life, so a sound slightly late feels right and a sound early feels wrong. In the example, 61 effects were placed this way from a single table of (effect, picture time, volume).
8.5 Levels
- Effects sit under the voice: volume 0.1 to 0.3 for most, up to 0.45 for a click or a buzz that matters.
- Spread effects across two or three audio tracks so short sounds never stack on one track.
- Give every effect its exact length (
data-duration), or the engine assumes it runs to the end of the film. - Check the finished file: about −14 to −16 LUFS overall, true peak at or below −1 dB, no clipping:
npx hyperframes audio "Output/My video.mp4" --json
9. Checking, reviewing and rendering
9.1 The check
npx hyperframes check --json
It runs lint (structure mistakes), a runtime check in Chrome, a layout audit at sampled times, a motion check, a contrast check, craft warnings and an audio check. Fix every error. Read every warning: some are deliberate (a quote's unspoken words are dim on purpose; a wide shot has small text that isn't meant to be read).
The craft warnings are useful:
| Warning | Means |
|---|---|
line_unread | A line leaves before it can be read |
dead_stretch | More than 3 s with nothing changing |
text_below_floor | Text under 28 px that stays on screen |
first_frame_empty | Frame 0 (the thumbnail) is blank |
duplicate_audio_track | Two sounds overlap on one track |
9.2 Snapshots
npx hyperframes snapshot --at 0,2.9,4.9,8.8,11.5,17.4 --json npx hyperframes snapshot --review --json
--at takes the exact moments you name and makes contact sheets. --review makes three kinds of sheet: each scene at its start and middle, a strip across every transition (0.2 s either side), and the key frames at phone width. Claude reads the sheets like a harsh motion director, describes each frame as a stranger would, and lists problems ranked P0 (broken), P1 (weak) and P2 (polish).
Real problems this caught in the example:
- Phones blurred for the whole first scene (a script bug; see Troubleshooting).
- A calendar day that never highlighted (a style rule losing to a more specific one).
- Two status pills overlapping.
- Half a second of empty dark before the testimonial, and a muddy grey frame after it.
- A cursor covering the button's text.
9.3 Render
npx hyperframes render --quality delivery --workers 3 --output "Output/My video.mp4"
--quality deliveryis the highest standard MP4 quality; the default (looks) is close and smaller.- Use about one worker per 1.5 GB of free memory. Each worker is a Chrome process.
- Keep the default 4:2:0 colour for anything that will play on the web. 4:4:4 is sharper for thin coloured text but doesn't play in every browser.
9.4 Deliver
Claude writes REVIEW.md in the project: the creative calls, what was measured and what was only looked at, the weakest shot, and the warnings kept on purpose. The next session reads it before changing anything.
To keep editing visually, run npx hyperframes preview in the project folder for the browser studio, or open it in the HyperFrames desktop app.
10. Putting the video on your website
10.1 Hosting
A video file is large (the example is 19 to 26 MB). Host it on a CDN or a video host rather than in your site's code. Options: your hosting provider's file storage, an object store with a CDN, or a dedicated video host. Use +faststart (the default from HyperFrames renders is web-ready) so it starts playing before it has fully downloaded.
10.2 A player that looks like your site
The browser's own player has small controls, a download button, playback speed and picture in picture. For a sales video, replace it:
- No
controlsattribute. One large play and pause button in the centre (a dark circle with a white icon). Tapping anywhere on the video toggles it. controlsList="nodownload noplaybackrate noremoteplayback",disablePictureInPicture, and a blocked right-click menu.- A poster image: a strong frame from the video (the example used the frame with the main line and the booked showing), compressed to WebP at about 1600 px wide.
- The length in a small label in the corner until it starts.
10.3 Autoplay with sound
Browsers only allow sound if playback starts inside a tap or click. So the video element must already exist when the visitor taps, and play() must run in the tap itself, not after an animation frame or a delay. For an overlay player, keep the overlay mounted but hidden, and in the click handler unmute and play before opening it.
10.4 Patterns that convert
- Video first: the headline, the video large, the booking button directly under it.
- A floating teaser: a small muted loop of the first 12 seconds in a corner (loaded only after the page has finished loading, so it never slows the page). Tap to open the full video with sound. It can be dragged and snaps to the nearest side edge.
- A button that unlocks while they watch: under the full video, the booking button fills left to right over the first 30 seconds of actual viewing (skipping ahead doesn't count), then becomes active. Visitors see most of the pitch before they book.
- Pause the video when the booking calendar opens over it.
10.5 Search and analytics
- Add
VideoObjectstructured data: name, description, thumbnail URL, upload date, duration (PT1M21S) and the file's URL. It helps the video appear in search results. - Track: video opened, played, button unlocked, completed, and which button opened the booking.
11. Other kinds of video in the same style
The same tools and motion language work for any interface-led video. What changes is the shape, the length and what Claude needs access to.
| Video | Length and shape | Structure | Give Claude |
|---|---|---|---|
| Sales video (VSL) | 60 to 120 s, 16:9 | Hook, problem, turn, what it does, setup, proof, offer, close | Your landing page code or URL, your offer terms, testimonials, a voiceover |
| Product launch | 20 to 45 s, 16:9 | Hook, the old way failing, reveal, three to six verbs of the product working, payoff, claim, end card | The product's screens (code, screenshots or recordings), the logo files, the launch line |
| Feature explainer | 30 to 60 s | One concrete example worked through from start to result | The feature's real UI, sample data, the docs |
| App or software intro | 15 to 30 s | Brand moment, three screens that matter, end card | Design files or the app's code, the icon and logo |
| Onboarding video | 45 to 90 s | The first task, step by step, with the cursor | A walkthrough recording or the flow's screens |
| UI and interaction showcase | 10 to 30 s, often 1:1 or 4:5 | One component or interaction at a time, close up | Figma frames or the component code |
| Changelog or pull request video | 20 to 90 s | What changed and why it matters, two to four code hunks, the result | The repository and the pull request |
| Data or numbers story | 20 to 45 s | One question, numbers earned by a scene, one chart that lands | The real numbers and their source |
| Case study | 45 to 90 s | The client, the problem, what was built, the result, the client in their own words | The project's screenshots, the client's quote or video |
| Social vertical cut | 15 to 45 s, 9:16 | The hook in the first second, captions, one idea | The 16:9 project (Claude reframes it) |
Extra access by source:
- A live website:
npx hyperframes capture https://example.com --jsoncaptures screenshots, fonts and assets. - Figma: the Figma connector for Claude, so frames come in as real layers.
- A pull request: the GitHub command-line tool (
gh) signed in. - Recordings: put them in Uploaded Clips; Claude trims, crops and treats them.
- Reference videos: put them in Inspiration; Claude studies the pacing and transitions.
Words to add for each type:
- Launch: reveal, payoff, end card, mark carried in.
- Explainer: one worked example, label the change, return the result to its place.
- Interaction showcase: close-up, press state, hover, focus ring, before and after.
- Data: count-up, bar grows, one highlighted number, real source.
- Vertical: caption band, first-second hook, safe zones for the app's interface.
12. Do's and don'ts
Do
- Start from the brand's real files: fonts, colours, components, photos, icons.
- Write the script from claims already on your page, and label sample data as samples.
- Let one story and one piece of data run through the whole film.
- Anchor every important moment to a spoken word.
- Turn every adjective into a number in the spec before building.
- Keep interface text at 26 px or more, and lines on screen long enough to read.
- Make transitions come out of something on screen; use three to five kinds.
- Use blur appear for arrivals and blur out for exits; stagger similar items.
- Keep the ground continuous between scenes on the same background.
- Place sound effects by their measured peak, one frame after the picture.
- Check, snapshot every transition, and review at phone width before rendering.
- Keep originals untouched; do test work in the playground; put finals in Output.
Don't
- Don't use bounce, overshoot, shake or stomp.
- Don't put small interface on a dark, empty background with a glow.
- Don't slide every element up as it appears.
- Don't put three cards in a row as a feature list.
- Don't let titles drift or breathe after they land.
- Don't repeat the voiceover word for word on screen.
- Don't use music if the voice and effects carry it (or keep it very quiet).
- Don't fabricate testimonials, numbers or screens. Don't present AI-generated faces as real clients.
- Don't use another studio's work without credit, and don't hotlink it in a way that sends visitors away.
- Don't record stage directions in the voiceover.
- Don't commit paid files to a public code repository.
13. Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| An element is blurred or hidden for the whole scene, not just when it should be | A fromTo tween at a later time applies its starting state immediately when the scene loads | For an element already visible earlier, use tl.set() at the moment plus tl.to(), or immediateRender: false |
| Something visible on frame 0 that should start hidden | A tl.set() at time 0 doesn't render while the playhead sits exactly on 0 | Hide it in CSS (opacity: 0) and let the animation show it |
| A scene is blank or frozen | The scene's id, its host's id and its timeline key differ, or the timeline was registered before an async step finished | Give all three the same id; register the timeline at the end |
| The cursor misses the button | Positions were measured with getBoundingClientRect() while the preview was scaled | Sum offsetLeft and offsetTop up the parent chain instead |
| A highlight never appears | A more specific style rule from the component wins | Raise the specificity of the highlight rule |
| Sounds reported as overlapping across the whole film | Audio without data-duration is treated as running to the end | Give each effect its exact length and spread effects over a few tracks |
| The font is wrong in the render | The family isn't bundled and has no local @font-face | Copy the font file into assets/fonts and declare it |
| A phone video is sideways | The rotation flag wasn't applied | Re-encode with FFmpeg, which bakes in the upright picture |
| Transcription takes forever | The medium model is downloading (1.5 GB) or too slow for the machine | Use the small model; it's fine for clean voiceovers |
| On Windows, a long shell command with quotes fails | The shell trips on apostrophes inside quoted text | Ask Claude to write the script to a file and run the file |
| The video won't autoplay with sound on the site | play() ran after the tap (in a timer or animation frame) | Call play() inside the tap handler on an element that already exists |
| A browser screenshot of a phone-width page looks cut off | The preview pane is scaled | Trust measured positions, or check in a real phone |
14. The skill: the same process, done for you
Everything above is free, and you can follow it by hand. The UI Motion Video skill packages the whole process so you don't have to read any of it: drop it into Claude, give Claude access to your folders, and it takes you from an empty folder to a finished MP4.
What it does:
- Checks your computer and installs or sets up what's missing (FFmpeg, Python and transcription, HyperFrames and its skills), and creates the workspace with its
CLAUDE.md. - Asks you a short set of questions: what the video is for, who it's for, the length and shape, where your brand lives, your voice option, the claims you can make, and the style you want.
- Pulls your fonts, colours, components, photos and icons from your site or design files.
- Writes the script and three storylines, waits for your pick, and writes the spec.
- Transcribes your voice, builds every scene with the motion language in this guide, sources and times the sound effects, checks, reviews and renders.
- Optionally builds the website player, the floating teaser and the unlocking button for your site.
How to use it:
- Quickest: drag
SKILL.mdinto a Claude Code conversation with your brand folder open, and say "Make a video with this skill." - Installed: unzip the skill folder into
~/.claude/skills/(for you everywhere) or.claude/skills/inside a project (for that project only). Claude then uses it whenever you ask for a video.
15. Appendix: templates
15.1 Workspace `CLAUDE.md`
# Videos: video workspace Everything here is free or open source and runs locally. ## Folders | Folder | Purpose | |---|---| | `Uploaded Clips/` | Raw footage and voiceovers. Read-only: never overwrite originals. | | `Inspiration/` | Reference videos to study. Never edit. | | `Editor - playground/` | Scratch: trims, transcripts, test frames. Safe to clean. | | `Output/` | Final deliverables (MP4) only. | | `_engine/` | Tools: HyperFrames starter, Remotion (optional), Python venv, scripts. | ## Tools | Tool | For | Run | |---|---|---| | FFmpeg | cut, scale, rotate, audio, encode | `ffmpeg`, `ffprobe` | | faster-whisper | word-level transcripts | `_engine/.venv/Scripts/python.exe _engine/scripts/transcribe.py <file> --model small --language en --out <dir>` | | HyperFrames | HTML + GSAP video | `npx hyperframes@<version> preview / check / snapshot / render` | | yt-dlp | reference downloads | `yt-dlp <url>` (into Uploaded Clips) | Load the `hyperframes` skill before writing a composition. Prefer free local options over paid generation. ## Machine <CPU, cores, memory, GPU>. Render with about one worker per 1.5 GB of free memory. ## Rules - Keep source resolution and frame rate unless asked. - MP4 deliverables: H.264, `-pix_fmt yuv420p`, `-movflags +faststart`. - Probe inputs with ffprobe before editing. - Intermediate steps go in the playground; finals in Output.
15.2 `SPEC.md`
GOAL: What the viewer feels or does at the end, in one sentence.
OUTPUT: HyperFrames, 1920 x 1080, 30 fps.
TIME: seconds x 30 = frames. Narrated or music; the voice is the clock.
LOOK: Ground (hex), ink (hex), one accent and exactly where it may appear.
Display face, weight, size in px, tracking. Body face the same. Labels.
Cards: radius, shadow. Interface scale (1.75 to 2x web size).
OBJECTS: Everything the viewer must recognise, with the details that make it read.
MOTION: Arrive: ease, duration, blur. Camera: ease, duration. Zoom through: ease, duration.
Exits: duration. Staggers: words, rows, tiles. Springs: none.
SHOTS: One line per shot: time range, hero move, what is read, the sound, the hand-off.
BANNED: The defaults this film must not become.
QA: The frames to check and what each must show.15.3 Checklist before you render
- Every claim is on your page; samples are labelled.
- Frame 0 is a real picture, not black.
- Every line holds for 0.5 s + 0.3 s per word.
- Interface text is 26 px or more.
- Every transition has a cause on screen; no two adjacent transitions are the same kind.
- No bounce, glow, slide-up, drifting titles or corner logo.
- Every effect has a visible cause and lands one frame after it.
checkpasses with no errors; every warning kept is kept on purpose.- Snapshot sheets for scenes, transitions and phone width reviewed.
- Loudness about −14 to −16 LUFS, true peak at or below −1 dB.
Want Claude to do all of this for you?
The UI Motion Video skill runs this whole guide for you: drop it into Claude, answer a few questions, and it sets up the tools, pulls your brand, writes the script, builds, checks and renders the video. It isn't on sale yet. Join the waitlist below and you'll hear about it first.
Get the next guide before anyone else.
The Xtarc community is where I share how I design, build and ship real work with Claude. Join the waitlist and you're first in when it opens.
- New guides before they go public
- The prompts I actually use
- First access when the community opens