chatfire-AI /huobao-drama

🎬 火宝短剧 - 基于AI的一站式短剧生成平台 《一句话生成完整短剧,从剧本到成片全自动化》 Huobao Drama - An AI-Powered End-to-End Short Drama Generator "One Sentence to Complete Drama: Fully Automated from Script to Final Video"

★ 17,516⑂ 3,262👁 86⑃ 59● 96▤ 7
TypeScriptNOASSERTIONCreated 2026-01-05
Download: HuobaoDrama v4.0.11HuobaoDrama-4.0.11 ↓4.0.112026-11-05
+149
Daily
17,516
stars
3,262
forks
86
watchers
59
prs
96
issues
7
releases

README

🎬 Huobao Drama — AI 短剧生成平台 / AI Short Drama Generation Platform



基于 TypeScript 全栈的 AI 短剧自动化生产平台
A full-stack TypeScript platform for automated AI short-drama production






中英双语 / Bilingual | 简体中文 | English | 日本語 | 한국어


  
    
  


登录即可体验小说转短剧、分镜制作、视频生成和剪辑。


  
    
  


  
    
  




---

 📖 项目简介 / Overview

Huobao Drama 是一个基于 AI 的短剧自动化生产平台,实现从剧本生成、角色设计、分镜制作到视频合成的全流程自动化。
Huobao Drama is an AI-powered short-drama production platform that automates the entire pipeline: script generation, character design, storyboard breakdown, and video compositing.

 🎯 核心价值 / Core Value

- 🤖 AI 驱动:使用大语言模型解析剧本,提取角色、场景和分镜信息
  🤖 AI-Driven: LLMs parse scripts and extract characters, scenes, and storyboard information

- 🎨 智能创作:AI 绘图生成角色形象和场景背景
  🎨 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

 🛠️ 技术架构 / Architecture


frontend/   — Nuxt 3 + Vue 3 + TypeScript(纯 CSS,无 UI 框架 / pure CSS, no UI framework)
backend/    — Hono + Drizzle ORM + Mastra AI Agents + better-sqlite3
backend/workspace/skills/ — Agent 技能定义,支持界面在线编辑 / Agent skill definitions (SKILL.md), editable in the UI
desktop/    — Electron 桌面版 / Electron desktop app(主进程 + esbuild + electron-builder / main process + esbuild + electron-builder)
data/       — 生成资源文件与 SQLite 数据库 / Generated assets and the SQLite database


---

 ✨ 功能特性 / Features

 🎭 角色管理 / Character Management

- ✅ AI 生成角色形象
  ✅ AI-generated character designs

- ✅ 批量角色生成
  ✅ Batch character generation

- ✅ 角色图片上传和管理
  ✅ Character image upload and management

 🎬 视频任务 / Video Tasks

- ✅ AI 自动生成视频任务
  ✅ Automatic AI video-task generation

- ✅ 场景描述和视频提示词生成
  ✅ Scene descriptions and video prompt generation

- ✅ 按任务批量生成视频
  ✅ Batch video generation per task

 🎥 视频生成 / Video Generation

- ✅ 文生视频自动生成
  ✅ Text-to-video generation

- ✅ FFmpeg 单镜头合成与字幕处理
  ✅ FFmpeg per-shot compositing and subtitle handling

- ✅ 整集拼接导出
  ✅ Full-episode stitching and export

 📦 资源管理 / Asset Management

- ✅ 素材库统一管理
  ✅ Unified asset library

- ✅ 本地存储支持
  ✅ Local storage support

- ✅ 任务进度追踪
  ✅ Task progress tracking

 🤖 AI Agents

内置 4 个 Mastra Agent,支持数据库配置和 Skill 扩展:
Four built-in Mastra agents with database-backed configuration and Skill extensions:

| Agent |职责Role|
|---|---|
| script_rewriter |小说 → 格式化剧本改写Novel → formatted script rewriting|
| extractor |角色 / 场景 / 道具智能提取与去重Intelligent extraction and dedup of characters / scenes / props|
| storyboard_breaker |剧本 → 分镜序列拆解Script → storyboard sequence breakdown|
| prompt_generator |角色/场景/道具图片提示词 + 分镜视频提示词生成Image prompts for characters/scenes/props + storyboard video prompts|

 🌐 多语言界面 / Multi-Language UI

界面内置 中文 / English / 日本語 / 한국어 四种语言,并可全局设置 AI 生成内容的语言。
The interface ships in 中文 / English / 日本語 / 한국어, with a global setting for AI-generate

Top issues

Latest release

HuobaoDrama v4.0.11 v4.0.11 2026-11-05
HuobaoDrama 4.0.11

- 安装包和自动更新源迁移到 installer.firemux.site。
- 更新检查优先使用国内 CDN,保留 GitHub Releases 备用更新源。
- 同步内置服务的版本检查地址。

提供 macOS Apple Silicon、macOS Intel 和 Windows x64 安装包,以及 macOS 应用内更新 ZIP。

安装包沿用项目现有未签名配置。校验值见 SHA256SUMS 文件。

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON