/story-animator:story-animatorfrom story-animator
Turns a one-line story idea into a narrated 2D animated MP4 video using Remotion for frame-by-frame SVG drawing, ElevenLabs for voiceover, and optional music/sound effects. No AI image generation.
Ships in story-animator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You turn a one-line story idea into a finished, narrated 2D animated film (MP4). You write the story, voice it with ElevenLabs, time every beat to the spoken words, draw every frame in code (SVG inside Remotion), add music and sound effects, and render. The look is a soft, flat storybook cartoon: cute characters with big eyes, warm light, gentle camera moves and handwritten subtitles.
Two finished films are in examples/ (a 55 s Diwali story and a 59 s robot story). Study their
drawing and motion (characters, light, weather, particles, camera) before you draw your first
film. They were built before this template existed, so they carry their own helpers and some raw
frame numbers. For structure, follow the template and the rules below, not the examples.
references/story.md.references/pipeline.md.references/voice-and-sound.md.Check, and fix what you can, before anything else:
node -v). If missing, tell the user to install it from nodejs.org (LTS).ffmpeg -version). If missing: brew install ffmpeg (Mac), winget install ffmpeg
(Windows) or the system package manager (Linux). Ask before installing.python3 --version), needed for the timing and mixing scripts.creative_list_voices,
creative_generate_speech, creative_get_generations). If they're not available, either:
ELEVENLABS_API_KEY in their environment, and call the REST
API with curl (see references/voice-and-sound.md).If the request doesn't already answer them, ask all of these in ONE short message, each with a default, and say "reply 'go' to use the defaults":
Tell the user the expected ElevenLabs cost in the same message: the narration is made as 2 takes, about 2 × 6 credits per second of story (a 60 s story ≈ 1,400–1,600 credits); music ≈ 900 per 60 s take; each sound effect ≈ 17. If the user says "you decide" or "go", use the defaults.
Follow references/story.md. Produce:
Show the narration and the beat list to the user and wait for an OK, unless they asked you to just go.
template/ folder to a new folder named after the story (e.g. ./paper-boat/)
in the user's current directory.npm install there. (npm may warn that esbuild's postinstall script wasn't run; rendering
still works, so ignore it.)src/story.ts, pick the shape (SHAPES["9:16"] etc.).See references/voice-and-sound.md for details.
creative_list_voices (language, use_cases: ["narrative_story"], accent).creative_generate_speech, model eleven_v4, 2 takes. Add light direction tags
such as [warm, gentle storytelling], [softly], [delighted] at the start of lines. Never put a
sound word inside a tag (e.g. [whooshing]); the voice may read it out.creative_get_generations → full_res_url →
curl -o public/audio/take_A.mp3 "<url>" (and take_B.mp3).public/audio/narration.mp3.python3 -m venv .venv && .venv/bin/pip install faster-whisper (once), then
.venv/bin/python <skill>/scripts/transcribe.py public/audio/narration.mp3.
It prints every word with its film frame (frame = 15 + round(seconds × 30)) and a suggested length.src/story.ts:
durationFrames: the user's exact length if they gave one (e.g. 25 s → 750), otherwise the
suggested length (last word + about 2.5 s);SUBS: subtitle chunks, as spoken;CUES: one named frame per beat;CAM: one camera move per beat.
See references/pipeline.md, including how much of the world a 9:16 or 4:5 frame shows.Before animating everything, build the world, the main character and the lighting for the hardest
moment of the film (usually the turn), and render that one frame:
npx remotion still src/index.ts Film out/look.png --frame=<frame>. Look at it and critique it in
writing against references/visual-style.md (character appeal, readable silhouette, one light
source, depth, colour story, nothing covering a face or the token, nothing cut off at the edges).
Fix it until a picture-book illustrator would be proud of it. Show it to the user if they want to
approve the look.
Write src/Film.tsx for the whole story, beat by beat, using the helpers in src/kit/:
camera() and worldTransform() for the camera, ramp()/eio()/eback() for timing,
blink()/wobble() for life, Face for eyes and mouths (moods: smile, happy, o, sad, none), Glow
for light, Subtitles for text. Every frame number comes from CUES in story.ts, never typed into
Film.tsx.
npx tsc --noEmit -p .bash <skill>/scripts/contact_sheet.sh out/sheet.jpg <frame> <frame> ... (8–12 frames) and LOOK at it.references/qa.md before rendering.The mix is what puts the voice at the right moment (0.5 s in) and at the right loudness, so run it even for a voice-only film.
public/audio/audio_cues.json as
{"duration": <durationFrames / 30>, "voice": {"file": "narration.mp3", "start": 0.5}}.eleven_music_v2_5, through creative_generate_in_flow with
node_type: "music"). Describe the emotional arc second by second. 1–2 takes; pick the one
whose loudness follows the story.eleven_text_to_sound_v2 (node_type: "sfx", generations_count: 1), one per
story moment, subtle."music" and "sfx" entries to audio_cues.json (format in scripts/mix.py). Never put an
effect ON a key word; put it just before or after.python3 <skill>/scripts/mix.py public/audio/audio_cues.json. It writes public/audio/mix.wav
and prints how far the background sits under the voice (aim for 12–18 dB).STORY.audio = "audio/mix.wav" in story.ts. Never point it at the raw narration: the
film would play the voice 0.5 s early.npm run render → out/film.mp4 (H.264 + AAC, ready for YouTube and Instagram).ffprobe: video + audio, the right size and length. The opening fade from black should
be 10 frames at most, and the voice should start at about 0.5 s.transcribe.py says faster-whisper is missing: run the one install command it prints.references/qa.md.examples/little-robot/BRIEF.md (opens in a new tab)examples/little-robot/Film.tsx (opens in a new tab)examples/tiny-diya/BRIEF.md (opens in a new tab)examples/tiny-diya/Film.tsx (opens in a new tab)references/pipeline.md (opens in a new tab)references/qa.md (opens in a new tab)references/story.md (opens in a new tab)references/visual-style.md (opens in a new tab)references/voice-and-sound.md (opens in a new tab)scripts/contact_sheet.sh (opens in a new tab)scripts/mix.py (opens in a new tab)scripts/transcribe.py (opens in a new tab)template/package.json (opens in a new tab)template/remotion.config.ts (opens in a new tab)template/src/Film.tsx (opens in a new tab)template/src/Root.tsx (opens in a new tab)template/src/index.ts (opens in a new tab)template/src/kit/Subtitles.tsx (opens in a new tab)template/src/kit/camera.ts (opens in a new tab)template/src/kit/helpers.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
story-video, 2d-animation, remotion, elevenlabs, svg-animation, kids-story
npx claudepluginhub deenukhan/story-animator --plugin story-animatorOther plugins' skills for the same job