Leave me a note

It goes straight to my inbox. I reply within a day or two.

What's it about?
or find me on
← back to the desk

~/work/animeroom/README.md

Product · 2026 · Live

AnimeRoom

Type a matchup. Watch an anime roast battle render live.

One prompt becomes a cinematic 9:16 anime roast-battle video. An LLM writes the script, images are generated per round, every line is voiced, and the video streams to the viewer round by round while it is still rendering.

role: Product, pipeline, and video engineering. Solo.

AnimeRoom home page: “Your favourite characters. Your next great reel.”, with three anime character cards

The problem

Generating a full video means chaining a script model, an image model, a voice model, and a renderer. Any one of them can take a minute or fail, and a user staring at a spinner for five minutes leaves.

How it works

  1. 01The whole generation runs as a durable Inngest pipeline, so a failed step retries on its own and nothing is lost if a function times out.
  2. 02Each round is rendered separately with Remotion Lambda and pushed to the browser over Upstash Realtime, so the viewer watches round one while round three is still rendering.
  3. 03Credits and billing run through Stripe with webhook verification, plus the legal and support pages a paid product needs.
  4. 04Assets live on Cloudflare R2 behind a CDN subdomain to keep egress cheap for video.

Where it landed

  • Live with a free tier and paid credits.
  • Open source under MIT after a cleanup pass for public release.
  • A reusable pattern for streaming long-running AI media generation that later projects build on.

Stack

  • Next.js
  • tRPC
  • Postgres + Drizzle
  • Clerk
  • Inngest
  • Remotion Lambda
  • Gemini
  • Replicate
  • ElevenLabs
  • Upstash Realtime
  • Stripe
  • Cloudflare R2