Ongoing AI Solution

AI Viral Reels — Script-to-Reel Video Generator

Paste a script and get back a finished 9:16 animated reel with drawn scenes, an AI voiceover, captions and music, ready to download.

AI Viral Reels — Script-to-Reel Video Generator
01 — THE PROBLEM

A short vertical reel still needs a storyboard, a voiceover, scene art, timed captions, music and an export at the right size, which is hours of editing for a small business or creator who only has the words. AI video tools that generate free-form code or footage bring their own problems: the same request comes out differently each time, and text lands outside the area Instagram and TikTok keep clear. The site also had to run on shared hosting, which cannot run rendering, ffmpeg or AI models, so the heavy work had to happen elsewhere without the site depending on it.

02 — OUR SOLUTION

The website only takes orders: accounts, scripts, images, credits and the job queue. A separate render worker does all the AI and video work, making outbound calls only, claiming jobs from the site's API and moving files through presigned URLs, so video never passes through the web host. Claude writes a storyboard as validated JSON, never code: each scene picks a template from a fixed catalogue and fills in its parameters, and the user's script is treated as data so instructions hidden in it are ignored. A moderation check that fails closed blocks harmful content before anything is drawn. The worker voices each scene with a local text-to-speech model, fits scene lengths to the voice, draws the frames, mixes music and sound effects to broadcast loudness and encodes the video. Rendering is deterministic, so the same storyboard always produces the same frames, and an audit checks every scene for text outside the platform safe area. A stalled job goes back to the queue and reuses the storyboard already written, and a final failure refunds the credit.

Outcome

Live at aiviralreels.com, with sign-up, reel generation, MP4/SRT/cover downloads, credit packs and monthly plans through Stripe, a staff panel and public showcase reels. More visual styles and per-scene drawn art are in progress.

Key features

  • Paste a script, optionally add images or a character, and download a 1080×1920 MP4 with captions file and cover
  • Claude writes a validated JSON storyboard against a fixed template catalogue, never free-form code
  • Scene count, order, length and call to action chosen per script
  • Moderation that fails closed before any rendering starts
  • Local AI voiceover, with scene lengths fitted to the voice
  • Deterministic rendering: the same storyboard always produces the same frames
  • Automatic audit for text outside the platform safe area, and for overlaps
  • Built-in cartoon characters with moods, blinking and a talking mouth
  • Live progress page with queue position and an ETA
  • Stalled jobs requeued without paying for the storyboard twice; credits refunded on failure
  • Credit packs and plans through Stripe

Tech stack

Python Django MySQL Tailwind CSS HTMX Alpine.js Stripe Claude API Kokoro TTS Pillow ffmpeg Pydantic Cloudflare Tunnel cPanel (Passenger)

Build something similar?

Tell us about your project. We'll share how we'd approach it.

Start a project