
# Toonflow
AI Short Drama Factory
Turn novels into episodes with just a tap!
AI Script Γ AI Visuals Γ Rapid Generation π₯
> π **One-stop Short Drama Production**: From text to characters, from storyboards to videos, zero-barrier full-process AI automation, boosting creative efficiency by 10x+!
---
# π Main Features
Toonflow is an AI tool that leverages AI technology to automatically convert novels into scripts, combined with AI-generated images and videos for efficient short drama creation. With Toonflow, you can easily complete the entire workflow from text to visuals, making short drama production smarter and more convenient.
- β
**Character Generation**
Automatically analyzes original novel text, intelligently identifies and generates character settings including appearance, personality, identity, and other detailed information, providing a reliable foundation for subsequent script and visual creation.
- β
**Script Generation**
Based on selected events and chapters, the system automatically generates structured scripts covering dialogue, scene descriptions, and plot progression, achieving efficient conversion from literary text to film scripts.
- β
**Storyboard Production**
Based on script content, intelligently generates storyboard prompts and visual designs, detailing foreground, midground, background, character dynamics, prop settings, and scene layouts. Automatically generates storyboards from scripts, providing a complete blueprint for video production.
- β
**Video Synthesis**
Integrates AI image and video technology, enabling AI-generated video clips. Incorporates online editing with support for personalized output adjustments, making film production efficient and streamlined.
---
# π¦ Application Scenarios
- Short video content creation
- Novel-to-film experimentation
- AI Literary Adaptation Tools
- Script development and rapid prototyping
- Video material generation
---
# π Installation and Usage Guide
## Prerequisites
Before installing and using this software, please prepare the following:
- β
Large Language Model AI service API endpoint.
- β
Sora or Doubao video service API endpoint
- β
Nano Banana Pro image generation model service API endpoint
## Local Installation
### 1. Download and Install
| Operating System | Download Link | Description |
| :--------------: | :------------------------------------------------------------ | :------------------------------ |
| Windows | [Release](https://github.com/HBAI-Ltd/Toonflow-app/releases) | Official release package, click to download |
| Linux | βοΈ Coming Soon | Coming soon, stay tuned |
| macOS | βοΈ Coming Soon | Coming soon, stay tuned |
> Note: Currently only Windows version is supported, other systems will be available soon.
### 2. Start Service
After installation, launch the program to start using the service.
## Cloud Deployment
Cloud installation and deployment tutorials are being prepared, stay tuned.
---
# π§ Development Process Guide
## Development Environment Setup
- **Node.js**: Version 23.11.1 or above required
- **Yarn**: Recommended as the project package manager
## Quick Start
1. **Install Dependencies**
Please first run the following command in the project root directory to install dependencies:
```bash
yarn install
```
2. **Start Development Environment**
- Run development service with Node.js:
```bash
yarn dev #port 60000
```
- Run development service quickly with Bun:
```bash
yarn bun:dev #port 60000
```
3. **Project Build**
- Compile and generate TypeScript files:
```bash
yarn build
```
- Package as Windows platform executable:
```bash
yarn dist:win
```
4. **Code Quality Check**
- Perform global syntax and standard checks:
```bash
yarn lint
```
## Project Structure
```
π docs/ # Documentation resources
π scripts/ # Build scripts and static resources
π src/
ββ π agents/ # AI Agent modules
ββ π lib/ # Common libraries (database initialization, response format)
ββ π middleware/ # Middleware
ββ π routes/ # Route modules
β ββ π assets/ # Asset management
β ββ π index/ # Homepage
β ββ π novel/ # Novel management
β ββ π other/ # Other features
β ββ π outline/ # Outline management
β ββ π project/ # Project management
β ββ π prompt/ # Prompt management
β ββ π script/ # Script generation
β ββ π setting/ # System settings
β ββ π storyboard/ # Storyboard management
β ββ π task/ # Task management
β ββ π user/ # User management
β ββ π video/ # Video generation
ββ π types/ # TypeScript type declarations
ββ π utils/ # Utility functions
ββ π app.ts # Application entry
ββ π core.ts # Route core
ββ π env.ts # Environment variable handling
ββ π err.ts # Error handling
ββ π router.ts # Route registration
ββ π utils.ts # General utilities
π uploads/ # Upload file directory
π LICENSE # License
π NOTICES.txt # Third-party dependency declarations
π package.json # Project configuration
π README.md # Project description
π tsconfig.json # TypeScript configuration
```
---
# π Development Roadmap
We are continuously optimizing the product. Here are the recent development priorities:
1. Core Feature Upgrades
- `π§© Prompt Enhancement Generation Agent` AI-powered intelligent video prompt enhancement, automatic storyboard script decomposition, supporting multi-shot intelligent fusion and smooth transitions
- `π Multi-format Text Support` Extending intelligent parsing beyond novels to scripts, comic scripts, game dialogue texts, and other formats
2. Production Workflow Optimization
- `π Character Costume and Props Management` Strengthen costume, makeup, and prop consistency for long-form content, supporting multi-episode associated memory and automatic outfit generation
- `π¦ Batch Processing/Task Queue` Support multi-chapter simultaneous processing, background task management, real-time progress monitoring, and interruption recovery
3. Visual Generation Enhancement
- `π Multi-style Template Library` Built-in multiple visual style packages, supporting one-click style conversion and user-defined style saving
- `β±οΈ Intelligent Rhythm Analysis/Optimization` Analyze plot emotion curves, automatically suggest climax points and rhythm changes, optimize storyboard arrangement and production workflow
---
# π License
Toonflow is open-sourced under the AGPL-3.0 license. License details: https://www.gnu.org/licenses/agpl-3.0.html
You may use Toonflow for various purposes including commercial use, in compliance with the terms and conditions of AGPL-3.0.
For proprietary commercial licenses exempt from AGPL-3.0 restrictions, please contact us via email.
---
# π Contact Us
π§ Email: [ltlctools@outlook.com](mailto:ltlctools@outlook.com?subject=Toonflow Inquiry)
---
# βοΈ Star History
[](https://star-history.com/#HBAI-Ltd/Toonflow-app&Date)
# Third-party Dependency List
Please refer to `NOTICES.txt`