This is how I set up 2D animation with Claude Code, from the first idea to a finished short film with voice and music. I show the skills I use, the style rules that made the biggest difference, and how I review each version with notes so Claude gets better on its own.
The film in the video is a short explainer about study tips: a world with rooms, machines, two characters called Chompy and Brainy, and a narrator. Every set, prop and camera move is written as code. Only the characters are real drawings. The version I started with did not look anything like this. It took a long process of fine tuning to get here, and those lessons are what this post is about.
What you need for 2D animation with Claude
Everything runs in Claude Code in one empty folder. Point it at the folder and create a CLAUDE.md. You can send Claude what I describe here and it will set the project up for you.
- Style: how everything looks. A screenshot of a frame you like, sent to Claude, works well.
- Characters: I use images for my characters. That worked a lot better than drawing them in code.
- Voice: an AI voice through an MCP connector, so Claude can generate it without you.
- Skills: this is the important part. The work is split into several skills instead of one big prompt.
The workflow, step by step
- Tell Claude your idea.
- Claude researches it, then writes a script and a hook.
- It draws the scenes in code and times them to the voice.
- It gives you a contact sheet, basically a storyboard, to approve.
- You preview it. The preview runs live as a website, so you do not have to render first.
- You leave notes, Claude fixes the animation, and it turns each note into a rule for next time.
I use four skills: research, script, hook and animation. If you already have a hook skill, link it to that one instead of making a duplicate, so none of your earlier work gets lost.
The style rules that made the difference
These came from a lot of back and forth with Claude. You can copy them or change them to your own taste.
- Everything is drawn in code, the characters stay real drawings. This is the most important rule.
- Full of detail, but never busy. This is hard to put into words and it is subjective, so send reference screenshots. Too much detail feels cluttered.
- Separate the background. The background is darker than the foreground, like lighting a real scene for video. Just tell Claude to make sure the background does not distract from the action. It does a good job at that.
- A blue world with one warm accent. That gives maximum contrast on the main action. You do not have to copy this palette.
- Rounded shapes. Some early shapes were very spiky and did not match the rest. I did not forbid spikes, but even those get rounded corners.
- Something always moves. Particles in the light, dust, anything. It adds a lot of life to a scene. This is my favorite part.
- Saturation around 1.2. I compared versions. Very saturated looks good at first but unnatural. A bit above normal was my pick.
What did not work: still images
The first version was mostly still images animated in code. Things got stretched, did not line up, and some things could not be animated at all. I also tried generating rooms in Google Flow and replacing the props with three.js objects. Combining the two never looked right.
So I dropped still images for everything except the characters. The characters are still not perfect. The eye and mouth animation is fine, and the mouth is just still images stitched together, but that is enough. An animation does not need 60 frames per second of drawing to tell a story, and the story is what matters.
Reviewing with notes
I built a previewer where I can watch the whole film or jump to single chapters, without rendering. That keeps changes fast and does not burn more compute than needed.
When something looks off, I press the note button, draw a box on the frame and write what is wrong, for example “what is this line? Remove it.” Claude works through the notes and answers each one. One example: Chompy walked into the frame facing the wrong direction. Easy to catch as a human, but the AI missed it. I boxed him, wrote that he faces the wrong way, and Claude replied that it mirrored the tiptoe so he now sneaks in facing Brainy.
Every note becomes a rule in the skill. After enough of that, even a cheaper model, Sonnet, built a whole chapter in our style on its own in about 15 minutes.
Problems I ran into
- Two rooms that should be one. Chapters one and two were supposed to happen in the same room, but Claude built two different rooms. It had to recreate the first room with both machines in it.
- Layering mistakes. Part of a machine sat in front of an object it should have been behind.
- Small details that make no sense. Odd shadows and lines that nobody notices on one watch, but you do when you work on it.
This is where you have to set priorities. Even with a perfect template, the next scene can have issues, and you are trading your own time for every fix. If a page in one shot is not perfect but works, I leave it. With better models some of this may solve itself.
The end result
Claude did everything here: research, script, scenes, voice over and music. The music comes from Epidemic Sound* through its MCP connector, so Claude handles the music without me. It then edits the video, puts the music and voice in, and hands back one finished file. My setup is not perfect, and some single things could be fixed faster by hand, but as a starting point it works. If you want to go 3D instead, here is how I make 3D animation with Claude.
*Affiliate link: if you buy through it, I may earn a commission at no extra cost to you.
This post may contain affiliate links. These links are marked with an * and I may earn a commission from qualifying purchases.