About this project

Toonflow is an AI production workstation specifically designed for short drama creation, building a complete closed-loop workflow covering planning, scripting, storyboarding, and video production. It supports localized, programmable, and sustainably iterative production processes. Key Features: - Infinite Canvas Production Workbench: Organizes scripts, characters, storyboards, assets, and video nodes in an infinite canvas format, supporting free arrangement, backward tracking, and parallel production. - Three-Layer Agent Collaboration System: Decision layer, execution layer, and supervision layer work together, covering task decomposition, content generation, quality review, and revision feedback. - Persistent Agent Memory: A cross-session memory system based on local ONNX vector retrieval, supporting short-term messages, long-term summaries, and semantic recall. - Programmable Provider System: Supports writing provider TypeScript logic directly in the settings center with immediate effect,无需改源码或重启 (without modifying source code or restarting). - Chapter Event Graph-Driven Adaptation: Automatically extracts chapter events from the original work and stores them structurally, enabling precise context invocation for script adaptation based on the event graph. - Skill File Configuration: Core prompts are externalized as Markdown Skill files, supporting online editing and rapid optimization. Application Scenarios: Short video content creation, novel-to-film adaptation experiments, AI literature adaptation tools, script development and rapid prototyping, video asset generation. Technical Stack: Node.js 23.11.1+, TypeScript 5.x, Express 5, SQLite (better-sqlite3/knex), Vercel AI SDK (supporting OpenAI/Anthropic/Google/DeepSeek/Zhipu/MiniMax/Qwen/xAI), @huggingface/transformers (ONNX local inference), Socket.IO, Electron 40, Sharp, Docker. Deployment Methods: Provides Windows/Linux/macOS desktop client installation packages, supports Docker local build deployment (port 10588), and cloud server PM2 cluster deployment. Default login account: admin/admin123. Before use, configure large language model, video generation model (such as Sora or Doubao), and image generation model service interfaces. License: Apache-2.0 with additional commercial agreements: distributing the product to 2 or more independent third parties requires written commercial authorization; internal use by entities with fewer than 5 legal persons is free; personal learning and non-commercial research is free.