Make Animated Reels Without Animating
Claude writes the script and the code that draws every frame, a free Malayalam voice reads it, and the animation syncs by itself. 5 steps, 5 prompts.
Commented on the reel and didn’t get the DM? Everything is here.
Claude writes the script and the code that draws every frame. A free Malayalam voice reads it. The animation syncs to the voice by itself. Here's the full 5-step workflow, with copy-paste prompts above. You need Claude Pro (for Claude Code); the voice is free to start, and your first reel takes about 1–2 hours.

Downloads
- PDFPDF guidePDF · 212 KBDownload
Copy the prompts
Write a 40-second Instagram reel voiceover in natural spoken Malayalam,
mixing English words the way people in Kerala actually talk.
Topic: [a stickman runs a tea shop and learns about online orders]
Audience: [small business owners]
Rules:
- 8 to 10 short lines, one idea per line.
- Line 1 is the hook: surprising, under 3 seconds, no greeting.
- End with: "Comment [KEYWORD] and I'll send you [what]."
- For each line, add a one-sentence description of what we see.
Then score the hook out of 100 for "would someone stop scrolling",
explain the score in one line, and give 2 stronger alternatives.
Install edge-tts (pip install edge-tts). Save my script as script.txt
(one line per beat). For each line, run edge-tts with voice
ml-IN-MidhunNeural and rate +20%, save line1.mp3, line2.mp3 ...
and the word timings (--write-subtitles). Then join them into voice.mp3
with a 0.1-second gap and tell me the total length.
Build me an animated 9:16 reel (1080x1920, 30 fps) as a single HTML file
that draws every frame on an HTML canvas. No images, no AI video:
draw everything with code.
Character: a stickman (circle head, line body, arms and legs from joint
angles, a red headband). Light cream background, one blue accent colour.
Make one scene per script line (script.txt), with simple motion:
waving, walking, pointing, objects popping in.
Put a big readable headline of each line near the top, in Malayalam
(use the "Nirmala UI" or "Noto Sans Malayalam" font).
Keep everything inside the safe area: nothing important in the top
220 px or the bottom 380 px.
The function drawFrame(t) must draw the frame for time t in seconds,
so the same t always gives the same picture.
Read the word timings from the voice step. Make each scene start when
its line starts and end when it ends. Trigger each movement on the word
it belongs to (for example: the wave starts on the word "hello").
Show the headline words appearing as they are spoken.
Render the reel: use headless Chrome (Puppeteer) to call drawFrame(t)
for every frame at 30 fps and save PNGs, then use ffmpeg to join the
frames with voice.mp3 into reel.mp4 (H.264, 1080x1920, AAC audio).
Delete the PNGs afterwards and tell me the frame count and file size.
How it works
An AI video tool generates pictures, so the character can change from shot to shot. This workflow is different: Claude writes ordinary code (HTML canvas) that draws each frame from shapes: a circle for the head, lines for the body, angles for the arms. A free tool then turns those frames into an MP4. Because it's code, your character looks exactly the same in every frame, and you change anything by asking in plain words.
- Script (Claude): writes the voiceover and scores its own hook.
- Voice (Microsoft Malayalam voice, free, or ElevenLabs): turns the script into audio, with word timings.
- Code (Claude Code): writes the code that draws every frame.
- Sync (Claude Code): times each movement to the word that's spoken.
- Render (Chrome + ffmpeg, free): saves the frames and joins them with the voice into an MP4.
Before you start
- Claude Pro (or higher). Claude Code is included in Pro, Max and Ultra. It's not in the Free plan. Pro is USD 20/month, or USD 17/month billed yearly (plus tax).
- Claude Code installed. Windows (PowerShell):
irm https://claude.ai/install.ps1 | iex. Mac/Linux:curl -fsSL https://claude.ai/install.sh | bash. Needs Windows 10 1809+ or macOS 13+, 4 GB+ RAM. You can also use the Code tab in the Claude desktop app. - An empty folder for your reel, for example Documents\my-first-reel.
- That's it. Claude Code can install the free tools it needs (Node.js, ffmpeg, Python, edge-tts) for you. It asks before running each command.
Step 1: Script
Open Claude (chat or Claude Code) and paste the Step 1 prompt. Swap the parts in [brackets].
Ask "Make line 1 shorter and more surprising" until the hook score is 80+. Read every line out loud. If it sounds like an essay, ask Claude to make it sound like talking.
Step 2: Voice
Best option: your own voice. Record each line on your phone in the Malayalam you really speak, one clip per scene, and tell Claude Code where the files are. It times the animation to your clips. This is what we did for our reel.
Option A: Microsoft's Malayalam voice, free. Microsoft's Malayalam neural voices are ml-IN-MidhunNeural (male) and ml-IN-SobhanaNeural (female). The free, open-source edge-tts tool reads text with them and saves word timings. Paste the Step 2 prompt into Claude Code.
edge-tts is an unofficial tool that uses Microsoft Edge's online read-aloud service. It needs internet, and Microsoft doesn't offer it as a commercial product. For client or paid work, use Option B or Microsoft's official Azure Speech service.
Option B: ElevenLabs (more natural). ElevenLabs' Eleven v4 model lists Malayalam. The Free plan gives 10,000 credits a month but no commercial licence. The commercial licence (and instant voice cloning) starts on Starter: USD 1 the first month, then USD 6/month. Generate one file per line, download them as voice/line1.mp3, voice/line2.mp3… and tell Claude Code where they are.
Step 3: Code draws every frame
In your reel folder, start Claude Code (type claude in the terminal, or open the folder in the desktop app's Code tab) and paste the Step 3 prompt. Open the HTML file in Chrome to preview. Then ask for changes in plain words, for example:
- "Make the stickman bigger."
- "Make the background blue." (Malayalam works too.)
- "In scene 3, have him jump when the line ends."
- "Add a tea glass on the counter, drawn with code."
Step 4: Sync to the voice
Paste the Step 4 prompt. The voice tool saves when each word starts and ends. The code reads those times, so nothing has to be moved by hand. Change the voice and the animation follows.
Step 5: Render the MP4
Paste the Step 5 prompt. A 60-second reel is about 1,800 frames. Rendering takes a few minutes on a normal laptop.
Worked example: our reel
- Script: 11 lines, planned with Claude.
- Voice: a Malayalam voice made in ElevenLabs (Eleven v4), one take, cut into one clip per scene at the natural pauses.
- Music: an original background track generated in code (no copyright), mixed quietly and dipping under the voice.
- Frames: HTML canvas code written by Claude Code (stickman, cards, host).
- Length: 104.8 seconds, 3,146 frames at 30 fps.
- Render: headless Chrome + ffmpeg.
Troubleshooting
- Malayalam shows as boxes (□□): ask Claude Code to use the "Nirmala UI" (Windows) or "Noto Sans Malayalam" font.
- The voice says an English word wrongly: write that word in Malayalam script just for the voice, for example ക്ലോഡ് for Claude.
- edge-tts error "NoAudioReceived": wait 20 seconds and run it again. It needs internet.
- Animation is out of sync: ask Claude Code to print each scene's start time next to each line's start time and fix the gaps.
- Text hidden under Instagram's buttons: keep text out of the top 220 px, the bottom 380 px and the right edge.
- Rendering is slow: preview at 540x960 first and render full size only at the end.
Your checklist
- Get Claude Pro and install Claude Code.
- Write the script with the Step 1 prompt. Hook score 80+.
- Make the voice (free Microsoft voice, or ElevenLabs Starter for client work).
- Paste the Step 3 prompt and preview in Chrome.
- Sync with the Step 4 prompt.
- Render with the Step 5 prompt, watch it once on your phone, then post.
Prices exclude tax and can change. B Stories isn't sponsored by or affiliated with Anthropic, ElevenLabs or Microsoft.
Watch the reel
Watch this reel on Instagram



