Four Days, Ninety Seconds
How four AI agents — a writer, an illustrator, an animator, and a QA — ship a 90-second animated short. And what actually broke along the way.
We wanted a recurring character. One new 90-second episode every week, same character, same visual identity, published on a schedule that does not depend on anybody's free weekend.
A human 2D animation pipeline for that is three to four weeks per episode. Not viable. So we built a four-agent pipeline instead, and the first episode shipped in four days.
This article is about why it nearly failed, not why it worked. The generation part is commodity now. The part that cost us three days was a directory path.
Episode 01 — 90 seconds of picture, 768×1344, 6.95 MB
The short went public on 23 November 2026, three weeks after this case study was published. Measured on the delivered file: the picture track is exactly 90.000 s, the audio bed runs about five seconds past the last frame, so the shipped container is 95.017 s — the extra five seconds are audio, not animation. Watch it where it is live:
The pipeline: four roles, one board
The agents are not a swarm and they do not talk to each other directly. They coordinate through a Kanban board: each task has an owner, an acceptance criterion, and a state. That design choice alone removed most of the coordination failures.
- Writer / PM — takes a brief and produces 20 shot specs. Each shot carries a camera description, the character action, the emotional beat, and both a Chinese and English generation prompt.
- Illustrator — produces first and last frame for every shot, so the animator has exact endpoints.
- Animator — turns each frame pair into a 4–5 second clip.
- QA — checks IP consistency and duplicate detection, then either passes the episode or rejects it with a specific reason.
Twenty shots at 4.5 seconds average is 90 seconds. That is the whole arithmetic.
The hard part is not generation. It is consistency.
Anyone can generate one beautiful frame of a character. The problem is the second frame, and the two-hundredth.
Our rule was: never text-to-image. Every frame is generated from reference images using image-to-image, with the reference always placed first in the prompt and a strength setting between 0.7 and 0.85. High enough to hold the IP, low enough to allow a new pose.
The prompts stay under twenty words. They describe only what changes: angle, expression, action, prop, background. They never describe the face, the costume, or the colours — because a prompt that describes the face will start arguing with the reference image, and the reference image always loses in interesting ways.
The failure: a cache directory
We stored the character reference images in a profile cache directory. It was convenient. It was also, by design, disposable.
Mid-project the cache was cleared. The next batch generated without references. The character came back with a pink robe instead of red — same silhouette, same crown, wrong identity. Nobody noticed until the frames were already animated, because the drift was smooth across shots and each individual clip looked fine in isolation.
We had to regenerate the entire episode three times.
The fix is embarrassingly simple: reference images live inside the project directory, versioned with the episode, and are never read from anywhere that a cleanup job can reach. Anything disposable cannot be a source of truth for identity.
What QA actually checks
Two checks, both cheap, both catching real failures:
- Duplicate detection by content hash. Two clips with identical MD5 means the generator quietly returned the same output twice. That happened, and it is invisible to the eye when the shots are similar.
- IP diff against the reference. Compare dominant palette and silhouette against the locked reference sheet, not against the previous frame — otherwise slow drift accumulates and every frame passes.
The first QA rejection of this project was a duplicate-detection failure, not a visual one. The video looked acceptable and was structurally wrong.
When the video API died
Halfway through production the video generation endpoint started returning 401. Invalid credentials, no replacement available that day.
The fallback was ffmpeg: Ken Burns pan and zoom over the generated stills, with cross-fades between shots. It is not animation. It is motion graphics. But it shipped a watchable 90-second episode on schedule, and the schedule mattered more than the technique.
The lesson is not "have a fallback". The lesson is that the fallback has to be boring and instant — something you can run in ten minutes at 2 a.m. Any fallback that needs a design decision will not be used.
The numbers
- 20 shots, 4.5 s average, 90 s runtime
- Measured on the delivered file: picture 90.000 s, audio 95.016 s, container 95.017 s
- 768 × 1344 (9:16), H.264, 6.95 MB
- Four agents, one Kanban board, zero direct agent-to-agent calls
- Prompts: under 20 words, reference image first, strength 0.7–0.85
- Three full regenerations caused by cleared reference images
- Four days from brief to final file
What I would do differently
Three things, in order of how much time they cost me:
- Treat the character sheet as production data, not as an asset. It belongs in the repository, next to the script, not in a cache that gets swept.
- Build the QA hash check before the first episode, not after. It is ten lines and it would have saved a rejected cut.
- Decide the visual identity of the fallback on day one. The ffmpeg path worked only because the stills were already strong enough to carry themselves.
If you are building something similar, the generation model is the least interesting choice you will make. The coordination structure and the identity constraints are where the project actually lives.
Is the pipeline reusable for other characters?
Yes. Nothing in the pipeline is specific to this character except the reference sheet and the script. Swapping in a different IP means a new reference sheet, a new character bible, and the same four roles.
Why 20 shots instead of fewer, longer clips?
Short clips are far easier to keep consistent, and a 4-second clip is enough for one beat. Twenty beats also forces the script to actually have twenty beats, which is the real benefit.
Found this useful? Share it.
Related reading
- How We Built a Muse Gadget for the Car — Engineering case study
- SKYTAG I vs II vs Button: Honest 2026 Comparison
- Muse Gadget — Companion — The desktop reference design