Transform your stories into fully illustrated comic panels using AI
Features • Architecture • Tech Stack • Setup
AiToon is a full-stack AI comic generation platform that converts a simple story idea into a structured multi-panel comic strip with:
- 🎭 Story scenes
- 👤 consistent characters
- 💬 dialogues
- 🖼️ AI-generated comic panels
The platform follows a 3-layer intelligent architecture:
Client (Next.js)
↓
FastAPI + LLM Orchestrator
↓
AI Image Generation Engine
- 🎨 Theme-based comic generation
- 🧠 AI story orchestration pipeline
- 👤 character consistency memory
- 💬 automatic dialogue generation
- 🖼️ AI panel image generation
- 🔁 retry + fallback image models
- ⚡ parallel batch rendering
- 🛠️ single panel regeneration
User Input
↓
Story Setup UI
↓
FastAPI Backend
↓
LLM Orchestrator Graph
↓
Structured Comic JSON
↓
Prompt Builder
↓
Model Router + Retry Engine
↓
Image Generation
↓
Comic Editor UI
| Layer | Technologies |
|---|---|
| Frontend | Next.js, React.js |
| Backend | FastAPI, Python |
| AI | Groq, Gemini, OpenRouter |
| Image Engine | Pixazo, Flux, SDXL |
| Database | MongoDB |
AiToon/
│
├── client/
├── server/
├── image_gen/
├── outputs/
└── assets/readme/
cd server
pip install -r requirements.txt
uvicorn main:app --reload --port 8000cd client
npm install
npm run dev