
code-drawn-anime: make anime Reels drawn 100% in code, no AI images, with Tamil, Hindi and English voices
code-drawn-anime is an open-source Claude Code skill and Node.js engine that draws a voiced, lip-synced 1080x1920 anime Reel entirely in code: every frame, every character and even the music are generated by scripts, with no AI images and no Blender. A JSON script goes in, an MP4 comes out, and each episode teaches one real AI skill.


Watch the full episodes (about a minute each, with voices, generated music and sound effects, under 5 MB each):
What you get
- A three-quarter anime character rig (face, hair, eyes, brows, mouth shapes, hands, outfits) drawn with Canvas 2D, plus the cast: Navratan, Sujal and Selvi akka. Add your own characters in one file.
- Sets and UI screens drawn in code: a tailor's shop, a night street, WhatsApp chats, code editors, phone apps, step cards, maps, QR codes.
- An anime editing engine: camera pushes, speed lines, impact stamps, split-screen, wipes and glitch cuts, picked automatically per shot.
- Voices from Sarvam AI in Tamil, Hindi and English (and other Indian languages), with a speech-to-text read-back so you catch mispronounced lines before rendering.
- Lip-sync from the audio itself (offline, no model download).
- Music and sound effects synthesised in code from the shot list, mixed under the voice with ducking and normalised to about -14 LUFS.
- A GPU render through headless Chrome and
h264_nvenc (a CPU libx264 fallback is built in).
- Seven finished scripts (Ep2-Ep8) in Tamil, Hindi and English to copy from, and a Claude Code skill that writes new episodes for you.
Install in 1 minute
You need Node 20+, ffmpeg on your PATH, and Google Chrome or Microsoft Edge. The first run needs no API key.
git clone https://github.com/2boysfromtown/code-drawn-anime
cd code-drawn-anime
node tools/build.mjs ep7_en --silent # renders the English Ep7, picture only, to out/ep7_en.mp4
That draws all 1,927 frames of a 64-second episode (about 2 minutes on an RTX 5070 Ti) with no voice, music or key. No NVIDIA GPU? Set VIDEO_CODEC=libx264 first. Want to see the characters? npm run characters writes a character sheet to out/chartest/.
Make an episode with voices
Voicing uses Sarvam AI, a paid API. Create your own key at dashboard.sarvam.ai and put it in an environment variable. The repo never contains a key and never reads one from a file.
pip install -r requirements.txt
read -rs SARVAM_API_KEY && export SARVAM_API_KEY # paste your key (hidden) | Windows PowerShell: $env:SARVAM_API_KEY = "<your key>"
node tools/voice.mjs ep7_en # Sarvam voices every line, then prints what speech-to-text heard back
node tools/timeline.mjs ep7_en # places lines, caption times, lip-sync
node tools/review.mjs ep7_en # contact sheet with one frame per shot (open the PNG it prints)
node tools/build.mjs ep7_en # music + effects + render + phone copy in deliver/ + loudness report
For a brand-new episode, copy the closest app/anime/eps/epN.json, change the lines and the shot list, and run the same five commands. skills/anime-episodes/references/ lists every scene, character expression and the mistakes to watch for.
Use it from Claude Code
npx skills add 2boysfromtown/code-drawn-anime --global --agent claude-code
Or as a Claude Code plugin:
claude plugin marketplace add 2boysfromtown/code-drawn-anime
claude plugin install 2bft-code-drawn-anime@2bft
Then ask: "make an episode about WhatsApp automation for small shops, in Tamil and Hindi." The skill plans the AIDA script (Attention, Interest, Desire, Action), writes the JSON, voices it, checks the frames and renders it.
Examples
All made by this repo. The pictures are drawn by app/anime/engine.js, the voices by Sarvam AI, the music and effects by tools/sound_ep.mjs.