One style $9 · any 5 for $29 · all 140 styles $79 · Team $199One style $9 · any 5 $29 · all $79 →

← Blog

How to turn a script into a video with Claude Code

ReelStyles ·

Quick answer: paste the script into Claude Code, ask for a free Kokoro voice first, then let it build one animated scene per group of lines and render an MP4 with HyperFrames on your computer. With a ReelStyles style kit the film has a fixed look, so you decide the words and the kit decides the pictures. No footage and no video model are needed.

This is the order I use for my own channels, and I sell the style kits named below, so read it with that in mind.

Why the voice comes first

A script sets the length of the film. At a normal narration pace of about 150 words a minute, 120 words run about 48 seconds. If Claude Code draws the scenes first and records the voice later, the pictures and the words drift apart and you fix timing for an hour. Record the voice, get the word timings, then fit the scenes to them. The HyperFrames captions and voiceover guide uses the same order for the same reason. Estimate your length before you start with the free words to minutes calculator.

The steps

  1. Get a kit. In Claude Code run /plugin marketplace add reelstyles/reelstyles-free and /plugin install reelstyles-free@reelstyles-free, then say "set up ReelStyles". It checks for Node.js, FFmpeg and Chrome and renders a 5-second test film. Other agents can clone the free repo as a folder.
  2. Clean the script. Save it as script.txt with one sentence per line, at most 12 words a line, and no stage directions. Read it out loud once and fix every line you trip over.
  3. Make the narration. npx hyperframes tts script.txt --voice af_heart --output narration.wav runs Kokoro on your computer at no charge. If you recorded your own voice or used ElevenLabs, save the file as narration.wav or narration.mp3 and skip this step.
  4. Get the word timings. npx hyperframes transcribe narration.wav writes a transcript.json with the start and end of every word. Open it and fix names and numbers, which are the words transcription gets wrong most.
  5. Ask for the scene plan. Paste the prompt below. Claude Code groups the lines into scenes and shows you the plan with a time for each scene before it writes code.
  6. Check stills, then render. npx hyperframes snapshot . --at 1,5,9 -o snapshots saves frames you can look at. When the stills look right, npx hyperframes render . -o out.mp4 --quality looks --workers 2 makes the MP4. On a normal 4-core computer the render takes about 1 to 3 seconds per second of film.

A prompt to copy

Read script.txt, narration.wav and transcript.json. Make a 16:9 film in the
reelstyles whiteboard style, timed to the narration. One scene per two or
three lines, each scene showing the thing the line says. Captions follow
transcript.json, two lines at most. Show me the scene plan with a time for
each scene before you write any code.

For a Short, change the first line to "Make a 9:16 vertical film, 1080 x 1920" and keep the script under 90 words. The 9:16 guide has the safe-area numbers.

What goes wrong, and the fix

Styles that suit a narrated script

The Whiteboard explainer is in the free kit and fits how-it-works scripts. The Vox collage and the Cut-paper documentary suit longer narrated explainers, and the Halftone dossier fits scam and money stories. More on the voice side: How to add a voiceover to a Claude Code video.

FAQ

Can Claude Code turn a script into a video? Yes. It writes each scene as HTML and canvas code timed to your narration, and HyperFrames renders the scenes to an MP4 on your computer. It does not produce real footage.

Do I need to record the voice myself? No. HyperFrames runs the free Kokoro voice on your computer with npx hyperframes tts. You can also use your own recording or an ElevenLabs file.

How many words fit in a 60-second video? About 150 at a normal narration pace. A 35-second Short takes about 90 words. Check your script with the words to minutes calculator before you build.

Can I turn a blog post into a video the same way? Yes. Ask Claude Code to shorten the post into a script of one sentence per line first, then follow the same steps. A 1,000-word post becomes a 60 to 90 second script.

Does the same method work in Codex or Cursor? Yes. The kit and HyperFrames are plain files and commands. Clone the free repo as a folder, and the agent reads the same instructions.

Is the result free to publish? The free kits are MIT licensed, and the films you render are yours to publish and monetise. You pay for your agent's plan. See what is free in HyperFrames.

Try it free

Get the 10 free style kits, or read the free repo on GitHub. If you want more looks, Full has all 140 styles for $79, Starter is any 5 paid styles for $29, and a single style costs $9. You pay once, and there is a 14-day refund.

See all 140 styles and the price