Toonflow

GitHub  |  Gitee  |  AtomGit

简体中文 | 繁體中文 | English | 日本語 | Русский | Tiếng Việt | ไทย
한국어 | हिन्दी | Bahasa Indonesia | Bahasa Melayu | Filipino | বাংলা | اردو
தமிழ் | తెలుగు | मराठी | ਪੰਜਾਬੀ | العربية | فارسی | Türkçe

> 🌐 **21 interface languages** · [View supported languages](#languages)

Toonflow Logo

Toonflow | Open-Source AI Short Drama, Animated Comic and Video Creation

Toonflow · AI Short Drama Studio · Turn ideas into stories

Stars Badge MIT License Badge Release

Forks Badge AtomGit G-Star No.540 Discord

Issues Contributors Last Commit

TypeScript  Bun 1.4.3  Vue 3  Electrobun

HBAI-Ltd/Toonflow-app | Trendshift HTML Repository Of The Day HBAI-Ltd/Toonflow-app | Trendshift Vue Repository Of The Day HBAI-Ltd/Toonflow-app | Trendshift TypeScript Repository Of The Day

HBAI-Ltd/Toonflow-app | Trendshift Vue Repository Of The Week HBAI-Ltd/Toonflow-app | Trendshift HTML Repository Of The Week HBAI-Ltd/Toonflow-app | Trendshift TypeScript Repository Of The Week

HBAI-Ltd/Toonflow-app | Trendshift HTML Repository Of The Month

Toonflow is an open-source AI creation tool for short dramas, animated comics and short videos. Write scripts and storyboards, manage character and scene references, and generate images and video clips on an infinite canvas. Deploy it locally, connect the model services you choose, and extend your creative workflow with AI agents, MCP and plugins.
Toonflow AtomGit G-Star Certificate No.540 Toonflow Gitee GVP Certificate

Download · User Guide · Plugin Marketplace · Developer Documentation · Official Model Platform

--- ## 1. 💛 Sponsors and Support Thank you to the following partners for supporting the Toonflow open-source project.
Metaso Metaso
Cost-effective MiniMax H3 video generation: just ¥0.09/second at 768P and ¥0.15/second at 2K (CNY). Supports native 2K, synchronized audio and video, an OpenAI-compatible API, ComfyUI, and infinite canvases, without deploying your own GPU. Register through this dedicated link to receive bonus credits and exclusive offers. For business inquiries, contact metasota12 on WeChat.
APIMart APIMart
Thank you to APIMart for sponsoring this project! APIMart is an affordable API platform for AI image and video generation. GPT-Image-2 starts at $0.006 per image, delivering 160+ images for $1. Images and videos share one asynchronous API: submit a task, receive its ID, and get results through a callback. Process batches of 10,000 images without timeouts and switch models without changing code. Pay as you go, with no monthly fees. Register here to get started.
CompShare CompShare
CompShare offers cost-effective H3 video generation, including text-to-video, first- and last-frame control, and all-in-one reference modes. Generate videos up to 30 seconds long in native 2K, with 768P priced at just CNY 0.08 per second. Supports API access, high concurrency for enterprises, and self-service invoicing.

🎁 Register through this dedicated link to receive CNY 5 in free platform trial credits!
👉 Become a Sponsor 👈

WeChat QR code for business inquiries

This contact is for business inquiries only and does not provide technical support. For usage questions, please join the community groups. Submit feature requests and bugs through the feedback form. Thank you for your understanding.

--- ## 2. 🌟 Highlights Toonflow is an open-source AI creation platform for short dramas, animated comics, and short videos, bringing scripts, assets, and video clips together on one infinite canvas. | Capability | Description | | --- | --- | | 🏠 **Local deployment** | Keep projects and assets on your own device or server, with desktop, Android, Docker, and server deployment options. | | 🖼️ **Infinite canvas** | Organize scripts, characters, scenes, and video clips on the same canvas. | | 🔌 **MCP** | Connect external tools and services through MCP. | | 🧩 **Plugin marketplace** | Extend nodes, tools, and creative capabilities through the [Plugin Marketplace](https://api.toonflow.net/console/plugIn). | | 🤖 **Open Agent** | Open access to prompts, tools, and A2A to customize Agent behavior and collaborate with external Agents. | | 🔧 **Flexible model integration** | Configure third-party APIs or connect local ComfyUI instances and LLMs. | | 🌐 **Multilingual support** | Supports 21 interface languages. | ### How to Create AI Short Dramas and Animated Comics with Toonflow 1. **Write scripts and storyboards**: Develop your story, character descriptions and shot descriptions in text nodes, using a language model for assistance before reviewing and editing the results. 2. **Prepare character and scene references**: Import reference images or use image generation nodes to create character, scene and storyboard images. 3. **Generate video shots**: Connect text and image references, select a video model and generation mode, and generate individual clips. 4. **Preview, organize and download**: Preview and arrange images and video clips on the infinite canvas, then download the assets for further production work. Supported references, video durations, resolutions and audio capabilities depend on the selected model and provider. ### Frequently Asked Questions **Which stages of AI short drama and animated comic production does Toonflow support?** Text, image and video generation nodes support script and storyboard development, character and scene asset creation, video-shot generation, and asset preview and organization. Creators need to review and refine the results. Available generation features depend on the configured models. **Is Toonflow free? Do model calls cost money?** Toonflow is open source under the MIT License and can be self-hosted. Third-party model APIs may charge usage fees. Local models and ComfyUI require your own runtime environment and computing resources. The production costs shown in the example apply only to that project and are not a fixed price. **Can I connect my own models and ComfyUI workflows?** You can configure language and media model services and use custom provider adapters to connect existing ComfyUI workflows. The integration depends on the service API, model and workflow. See the [User Guide](https://qcn7xdsqgc4z.feishu.cn/docx/RXFqdgR2Xo0dXZxGfd0cZCGgnwf) and [Developer Documentation](https://qcn7xdsqgc4z.feishu.cn/docx/KNBNd9naqolsy6xjAOCcEAkqnRd) for guidance. ### Multilingual support Supported languages: 简体中文, 繁體中文, English, 日本語, Русский, Tiếng Việt, ไทย, 한국어, हिन्दी, Bahasa Indonesia, Bahasa Melayu, Filipino, বাংলা, اردو, தமிழ், తెలుగు, मराठी, ਪੰਜਾਬੀ, العربية, فارسی, Türkçe. --- ## 3. 📸 Screenshots
Toonflow project home and idea creation
Project home and idea creation Toonflow first launch and quick setup
First launch and quick setup Toonflow dark canvas and AI assistant
Creative canvas · Dark theme Toonflow light canvas and AI assistant
Creative canvas · Light theme Toonflow canvas for character, scene, and prop assets
Character, scene, and prop assets Toonflow 3D director's studio and shot previsualization
3D director's studio and shot previsualization Toonflow three-view character sheets and image generation
Three-view character sheets and image generation Toonflow video generation with multiple reference assets
Video generation with multiple reference assets Toonflow node menu and grouping operations
Node menu and grouping operations Toonflow Plugin Marketplace
Plugin Marketplace
--- ## 4. 🚀 Download and Install ### 4.1 Client Installation | Operating System | GitHub | | --- | --- | | Windows | [Release](https://github.com/HBAI-Ltd/Toonflow-app/releases) | | macOS | [Release](https://github.com/HBAI-Ltd/Toonflow-app/releases) | | Android ARM64 | [Download APK](https://github.com/HBAI-Ltd/Toonflow-app/releases/latest) | The Android app supports ARM64 devices only. Download and install `toonflow-VERSION-android-arm64.apk` from the release page. It includes a local Bun backend and can run independently, or use Device Link on the home page to scan a QR code or manually connect to a computer or remote backend with sharing enabled, over a local network or the internet. The Windows installer automatically detects and installs WebView2. If the app closes immediately after installation, download and install the runtime manually from the [WebView2 download page](https://developer.microsoft.com/microsoft-edge/webview2/). On macOS (Apple Silicon), drag Toonflow into Applications and open it directly. No terminal commands are required beforehand. If macOS displays a security warning, follow the steps below in order.
If Toonflow cannot be installed or opened on macOS **1. Allow Toonflow in Privacy & Security** If you see a warning that the developer cannot be verified or that Apple cannot check the app for malicious software, first try opening Toonflow. Then go to System Settings → Privacy & Security, find the message stating that Toonflow was blocked, click Open Anyway, and confirm as prompted. See [Apple's official instructions](https://support.apple.com/zh-cn/102445). **2. If quarantine restrictions still prevent opening, try removing the quarantine attribute** After confirming that the app came from the official release page and is in Applications, run the following command in Terminal and try opening it again. Adjust the path if the app name or installation location differs. ```bash sudo xattr -rd com.apple.quarantine /Applications/toonflow.app ``` **3. Last resort: temporarily allow apps from anywhere** If neither of the first two methods works and you trust the source of the app, try running: ```bash sudo spctl --master-disable ``` Then open System Settings → Privacy & Security. Under Security, set “Allow applications downloaded from” to “Anywhere” if your system offers that option, and confirm as prompted. Available options and command support may vary across macOS versions. This relaxes security restrictions for all apps. Afterward, we recommend restoring the setting to “App Store and identified developers.”
For more instructions, see the [User Guide](https://qcn7xdsqgc4z.feishu.cn/docx/RXFqdgR2Xo0dXZxGfd0cZCGgnwf). --- ### 4.2 Docker Installation Install Git, [Docker Engine](https://docs.docker.com/engine/install/), and Docker Compose first. On Windows and macOS, you can use Docker Desktop in Linux container mode. The repository includes a [Dockerfile](../../Dockerfile), [Compose configuration](../../compose.yaml), and [build exclusions](../../.dockerignore). The image is built with Bun 1.4.3 and includes FFmpeg.
Expand Docker installation steps Clone the source and run the following in the repository root: ```sh git clone https://github.com/HBAI-Ltd/Toonflow-app.git cd Toonflow-app docker compose up -d --build ``` The first build installs dependencies and builds the bundled nodes, tools, Web, and Server. Once started, open `http://127.0.0.1:3000`. For a remote host, use an SSH tunnel as described under “Access and Data” below. The first startup initializes the bundled plugins and provides a `myProject` working directory. Settings, plugins, and project files are stored in the Docker named volume `toonflowData`, mounted at `/app/data/` inside the container. The actual volume name includes the Compose project prefix. Stopping or rebuilding the container preserves your data. **Do not use `docker compose down -v`: this command deletes the data volume.** ```sh docker compose logs -f toonflow # View logs docker compose stop # Stop the service docker compose start # Start it again docker compose down # Remove containers, retaining the data volume ``` To add a project directory, click “New Folder” in the “Select Server Working Directory” dialog. The dialog also supports renaming and deleting files and folders. Alternatively, create a directory from the command line while the service is running: ```sh docker compose exec toonflow mkdir -p /app/data/workspaces/newProject ``` For a backup, stop the service first, copy the data, then restart it: ```sh docker compose stop docker compose cp toonflow:/app/data ./toonflowBackup docker compose start ```
--- ### 4.3 Server Installation Use this option to run Web and Server directly on a Linux server. The example below uses Ubuntu / Debian and the project's specified version, [Bun 1.4.3](https://bun.sh/docs/installation).
Expand server installation steps Install the runtime environment: ```sh sudo apt-get update sudo apt-get install -y git curl unzip ffmpeg curl -fsSL https://bun.com/install | bash -s "bun-v1.4.3" export PATH="$HOME/.bun/bin:$PATH" bun --version ``` Clone the source and start the service: ```sh git clone https://github.com/HBAI-Ltd/Toonflow-app.git cd Toonflow-app bun install --frozen-lockfile # Build bundled nodes, tools, Web, and Server bun run build:server mkdir -p data/workspaces/myProject bun run start:server ``` When you see “服务启动成功” (service started successfully), open `http://127.0.0.1:3000` on the server itself. The command above runs in the foreground; press `Ctrl+C` to stop it. For startup at boot and process management, see [Bun's systemd deployment guide](https://bun.sh/guides/ecosystem/systemd). Set the working directory to the repository directory and the start command to the absolute path of Bun followed by `run start:server`. Run it as a user with read and write access to that directory.
--- ### 4.4 Access and Data - The service currently uses the fixed port `3000`. The web interface and API do not have separate login authentication. For server installations, restrict access to port `3000` through a firewall or security group. Public access requires a reverse proxy with authentication. - For personal remote access, run `ssh -N -L 3000:127.0.0.1:3000 username@server-address` on your own computer. Keep the connection open, then visit `http://127.0.0.1:3000`. You do not need to expose the server's port `3000` to the public internet. - With direct installation, settings, plugins, and workspaces are stored in the repository's `data/` directory by default. With Docker, they are stored at `/app/data/` inside the data volume. Preserve the entire directory when migrating or backing up. After opening the page, select `myProject` in the server workspace. Create subdirectories under the corresponding `workspaces/` directory for additional projects. - Both installation methods include system FFmpeg. You still need to configure API keys for model services in the interface. --- ### 4.5 Cloud Deployment Our partner [AI Galaxy (智星云)](https://www.ai-galaxy.com/) provides an officially authorized commercial Toonflow image with a ready-to-use environment. For instructions, see the [illustrated image deployment guide](https://mp.weixin.qq.com/s/lq9X1ovQ1_TKeXMOLgicKg?scene=1). --- ## 5. 🎬 Example Work https://github.com/user-attachments/assets/2d9fddac-dfdf-4640-b030-b09d7f7287e9 ### Production Details | Item | Recorded in the original repository | | --- | --- | | Production time and final length | Approximately 2 hours of work for a video of about 2 minutes. | | Video model | Seedance 2.0 | | Image model | GPT Image 2 | | Language model | Claude Opus 4.6 | | Model API costs | Approximately ¥130 CNY (Chinese yuan): about ¥10 for language, ¥120 for video, and less than ¥1 for images. | These costs are the recorded figures for this example and are provided for reference only. Actual costs depend on the model service, number of generations, and parameters. The demo video is a compressed 480p version. --- ## 6. 👨‍👩‍👧‍👦 WeChat Community Scan the QR code to contact the group invitation assistant: Toonflow community QR code You can also click the icon to join Discord: [![Join our Discord](https://cdn.prod.website-files.com/6257adef93867e50d84d30e2/67d00cf7266d2c75571aebde_Example.svg)](https://discord.gg/HEjKmpNpAZ) Or use the invitation link: [https://discord.gg/HEjKmpNpAZ](https://discord.gg/HEjKmpNpAZ) --- ## 7. 💌 Contact Us 📧 Email: [ltlctools@outlook.com](mailto:ltlctools@outlook.com?subject=Toonflow咨询) --- ## 8. 📜 Open-Source License Toonflow is licensed under the [MIT License](../../LICENSE). Third-party dependencies and assets remain subject to their respective licenses and copyright notices. [![Toonflow Star History](https://api.star-history.com/svg?repos=HBAI-Ltd/Toonflow-app&type=Date)](https://www.star-history.com/#HBAI-Ltd/Toonflow-app&Date) > **Non-retroactivity clause**: Users who used versions before v1.0.8 under AGPL-3.0 remain subject to AGPL-3.0. Versions v1.0.8 through v1.1.8 remain subject to Apache-2.0 and its additional agreement. These users are not bound by this license change. --- ## 9. 🙏 Acknowledgments - **Partners**: 算能云, Tencent Hunyuan 3D, and AI Galaxy (智星云). - **Project contributors**: Thank you to everyone who has contributed code, improved documentation, shared plugins, and helped troubleshoot issues. - **Community users**: Thank you to everyone who continues to provide feedback, share creative work, and support the project. 仰起脸笑的像满月: contributed Codex 20x development compute resources. Xi'an Zhongxing Digital Intelligence Technology Co., Ltd. (西安中星数字智能科技有限公司): contributed Apple certificate signing.

Free code signing provided by SignPath.io, certificate by SignPath Foundation.

Copyright © 2026 北京爱阿科技有限公司
Toonflow footer