A full-stack TypeScript platform for automated AI short-drama production
Features • Quick Start • Walkthrough • Desktop App • Deployment
Text, image, and video AI capabilities — one key unlocks everything
After deploying, paste the key in "Settings → Huobao Quick Setup" to write three recommended configs in one click
Huobao Drama is an AI-powered short-drama production platform that automates the entire pipeline: script generation, character design, storyboard breakdown, and video compositing.
- 🤖 AI-Driven: LLMs parse scripts and extract characters, scenes, and storyboard information
- 🎨 Intelligent Creation: AI image generation for character designs and scene backgrounds
- 📹 Video Generation: Text-to-video and image-to-video models automatically produce storyboard clips
- 🔄 End-to-End Workflow: A complete pipeline from idea to finished episode
frontend/ — Nuxt 3 + Vue 3 + TypeScript (pure CSS, no UI framework)
backend/ — Hono + Drizzle ORM + Mastra AI Agents + better-sqlite3
backend/workspace/skills/ — Agent skill definitions (SKILL.md, editable in the UI)
desktop/ — Electron desktop app (main process + esbuild + electron-builder dmg/exe)
data/ — Generated assets and the SQLite database
- ✅ AI-generated character designs
- ✅ Batch character generation
- ✅ Character image upload and management
- ✅ Automatic AI video-task generation
- ✅ Scene descriptions and video prompt generation
- ✅ Batch video generation per task
- ✅ Text-to-video generation
- ✅ FFmpeg per-shot compositing and subtitle handling
- ✅ Full-episode stitching and export
- ✅ Unified asset library
- ✅ Local storage support
- ✅ Task progress tracking
Four built-in Mastra agents with database-backed configuration and Skill extensions: