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

← Blog

AI cartoon video maker from text with Claude Code

ReelStyles ·

To make a cartoon video from text with Claude Code, write the script first, then give Claude a cast with fixed colours and a flat cartoon style, and have it build each scene as SVG and HTML. HyperFrames renders the scenes to an MP4 on your computer. The characters stay the same in every scene because they are drawn from the same code, not generated fresh each time. ReelStyles sells ready cartoon kits for this, and you can follow the steps here without one.

The honest limit comes first. This method makes simple, designed cartoons: shapes, flat colour, bobbing characters, cuts. It does not make fluid hand-animated acting or realistic people. If you want a character that runs and turns in a full 3D space, you need a video model or an animation studio.

What the online makers do instead

Online "text to cartoon" makers such as HeyGen and GenCartoon generate the video for you from a prompt. I opened both on 2 December 2026. HeyGen lists a free plan, and GenCartoon's free cartoon is a 4-second vertical clip at 480p with a small watermark. The limits that matter are length, resolution and watermarks, so read the current terms before you plan a channel on one.

Those tools are fast. Code is slower to set up but gives you a repeatable cast, exact colours and a file you can edit line by line.

Steps

1. Install

You need Node.js 22.19 or newer, FFmpeg and Claude Code with the HyperFrames skills:

npx skills add heygen-com/hyperframes

Choose "Core Skills", then restart Claude Code in the project folder. See animated videos with Claude Code for more detail.

2. Write the script

Write script.txt: 40 seconds, a cartoon about a squirrel who saves nuts
in a bank. One sentence per line, 12 words at most. No scenes yet.

3. Define the cast and look in a file

This is the step that keeps the cartoon consistent. Put it in STYLE.md:

Look: flat cartoon, thick #1a1a2e outlines, rounded shapes, no gradients.
Cast: Nutty the squirrel: body #c97b3a, belly #f4d9b0, cheeks #e88a8a,
always the same size and eye shape. The banker: tall, grey suit #5c677d.
Motion: characters bob on beat; talking means the mouth shape swaps
between two states. Cut every 3 to 5 seconds.
Palette: background #fdf0d5, accents #669bbc #780000.

Consistent cartoon characters with Claude Code goes deeper.

4. Plan first, then build one scene

Using /hyperframes, read STYLE.md and script.txt. Plan the scenes and show
the plan. Then build scene 1 only and show me a still.
npx hyperframes lint .
npx hyperframes snapshot . --at 1,2,3

What you see: three PNG files of scene 1. Check the cast against STYLE.md. Is Nutty the same colour as the file says? If not, tell Claude which rule broke.

5. Build the rest, add the voice

Once scene 1 looks right, ask for the rest. Make the narration with the free local voice:

npx hyperframes tts script.txt --voice af_heart --output narration.wav

My voiceover post has the one-time Python setup.

6. Render

npx hyperframes render

You get an MP4. Watch it once at full speed. For a vertical Short, say "9:16" in the first prompt. See YouTube Shorts in 9:16.

A frame from the rubber hose cartoon example film

Cartoon styles that work in code

I describe styles generically and have no link to any cartoon studio or franchise. Don't ask Claude to copy a named character. Ask for the traits you like, such as "round head, big eyes, bobbing walk".

What it cannot do

Faceless channel use

This is a good fit for faceless Shorts: a recurring cast, a script per video, the same look every time. See faceless YouTube channel with Claude Code and the pricing page for what a ReelStyles kit includes.

Questions

Can I make a cartoon video for free?

The tools are free: HyperFrames is Apache-2.0 and the Kokoro voice runs locally. You still need a Claude plan that includes Claude Code.

Can I make a cartoon from a story I wrote?

Yes. Put your text in script.txt and ask Claude to turn it into scenes. Keep sentences short so each line maps to a scene.

Will the characters look the same in every scene?

They will if you define them in a file and tell Claude to reuse it. Check a still of each new scene before you render.

Sources

Checked 2 December 2026: heygen-com/hyperframes, HyperFrames quickstart, HyperFrames CLI, GenCartoon, HeyGen AI cartoon video maker.

See all 140 styles and the price