huobao-drama  by chatfire-AI

AI-powered platform for automated short drama creation

Created 3 weeks ago

New!

6,104 stars

Top 8.3% on SourcePulse

GitHubView on GitHub
Project Summary

A comprehensive, AI-powered platform for generating short dramas, Huobao Drama automates the entire production pipeline from scriptwriting to final video synthesis. It targets creators and producers seeking to streamline the creation of short-form video content using artificial intelligence, offering a one-sentence-to-final-video workflow.

How It Works

Huobao Drama employs a full-stack architecture combining Go for the backend and Vue 3 for the frontend, structured using Domain-Driven Design (DDD) principles for clear separation of concerns across API, application, domain, and infrastructure layers. The core innovation lies in its AI-driven workflow: Large Language Models generate scripts and character settings, AI image generation creates character visuals and scene backgrounds, and text-to-video models synthesize the final video clips. This approach enables automated, end-to-end production with support for batch processing and asynchronous task management.

Quick Start & Requirements

The recommended installation method is via Docker for a quick, out-of-the-box experience.

  • Docker: Pull and run huobao/huobao-drama:latest from Docker Hub. The command docker run -d --name huobao-drama -p 5678:5678 --restart unless-stopped huobao/huobao-drama:latest provides a running instance accessible at http://localhost:5678.
  • Local Development: Requires Go 1.23+, Node.js 18+, npm 9+, and FFmpeg 4.0+. FFmpeg is a mandatory prerequisite for video processing. SQLite is included and used by default.
  • Configuration: A configs/config.yaml file allows customization of ports, CORS origins, database paths, and AI service providers.
  • Links: FFmpeg installation guides are provided for macOS, Ubuntu/Debian, and Windows.

Highlighted Details

  • AI Script Generation: Automates script outlines, character settings, plot splitting, and offers editing capabilities.
  • AI Character & Scene Creation: Generates character images and scene backgrounds using AI drawing models.
  • Video Synthesis: Utilizes text-to-video models to create storyboard visuals and final video clips with transitions.
  • End-to-End Workflow: Manages the complete drama production cycle, from initial concept to finished video.
  • Batch Processing: Supports generating multiple dramas or assets concurrently and asynchronously.
  • Resource Management: Unified management of assets, including local storage support and import/export functionality.

Maintenance & Community

The project is maintained by the "Huobao Team." Community interaction is facilitated via a WeChat contact (dangbao1117) and a QQ group. No Discord or Slack channels are listed.

Licensing & Compatibility

The project is released under the MIT License, which permits broad usage, including commercial applications and linking within closed-source projects.

Limitations & Caveats

The platform relies on external AI services, requiring users to configure and provide API keys for providers like OpenAI and Doubao. FFmpeg is a critical external dependency for video processing, and its absence or misconfiguration will prevent video generation. While aiming for end-to-end automation, the effectiveness and quality of AI-generated content (scripts, images, videos) depend on the underlying AI models and user-provided prompts.

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
20
Issues (30d)
38
Star History
6,272 stars in the last 22 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Jiaming Song Jiaming Song(Chief Scientist at Luma AI).

MoneyPrinterTurbo by harry0703

0.3%
49k
AI tool for one-click short video generation from text prompts
Created 1 year ago
Updated 1 month ago
Feedback? Help us improve.