Analyze manga images with AI and instantly generate:
Scene Analysis · Characters · Emotions · YouTube Content · Animation Prompts
🚀 Live Demo · 📦 Repository · 🇮🇷 فارسی
Manga Analyzer is a lightweight AI-powered web application designed to analyze manga images using a vision-capable language model.
Upload a manga image and the application analyzes:
- Scene
- Characters
- Emotions
- YouTube content
- Animation prompts
The current version focuses on a simple workflow:
Upload → Analyze → Explore
| Feature | Description | |
|---|---|---|
| 🖼️ | Image Analysis | Understand manga scenes and panels |
| 👤 | Character Analysis | Identify and describe characters |
| ❤️ | Emotion Analysis | Extract the main emotions |
| 📺 | YouTube Content | Generate titles and hooks |
| 🎥 | Animation Prompt | Create cinematic animation prompts |
🖼️ Manga Image
│
▼
🤖 Vision Model
│
▼
🧠 Scene Understanding
│
┌──────┼──────┐
▼ ▼ ▼
👤 ❤️ 📺
Characters Emotions YouTube
│
▼
🎥 Animation
Prompt
Manga Image
│
▼
React Frontend
│
│ POST /api/analyze
▼
FastAPI Backend
│
▼
OpenRouter
│
▼
MiniMax M3
│
▼
Structured JSON
│
▼
React UI
manga-analyzer/
├── frontend/
│ ├── src/
│ │ ├── App.jsx
│ │ └── ...
│ ├── package.json
│ └── ...
│
├── backend/
│ ├── app/
│ │ ├── main.py
│ │ └── api/
│ │ └── analyze.py
│ │
│ ├── .env
│ ├── .env.example
│ ├── requirements.txt
│ └── .gitignore
│
├── screenshots/
│ └── demo.png
│
├── README.md
└── README_FA.md
- Python 3.10+
- Node.js 18+
- OpenRouter API key
Navigate to the backend directory:
cd backendCreate a virtual environment:
python -m venv .venvActivate the virtual environment on Windows:
.venv\Scripts\activateInstall dependencies:
pip install -r requirements.txtCreate a .env file inside backend/:
OPENROUTER_API_KEY=your_openrouter_api_key
AI_MODEL=minimax/minimax-m3:freeDo not commit your .env file to Git.
uvicorn app.main:app --reloadBackend:
http://127.0.0.1:8000
FastAPI documentation:
http://127.0.0.1:8000/docs
Open another terminal:
cd frontendInstall dependencies:
npm installStart the development server:
npm run devFrontend:
http://localhost:5173
Image
↓
Image Processing
↓
FastAPI
↓
OpenRouter
↓
MiniMax M3
↓
JSON Analysis
↓
Frontend
{
"scene": "A three-panel manga sequence showing a dramatic moment between two characters.",
"characters": [
{
"name": "Young Man",
"description": "A young man with messy hair wearing a suit jacket."
},
{
"name": "Young Woman",
"description": "A young woman with shoulder-length hair and an emotional expression."
}
],
"emotions": [
"intensity",
"desperation",
"relief",
"affection"
],
"youtube_hook": "After their explosive argument, one simple embrace says everything words couldn't!",
"youtube_title": "When Words Fail, This Happens",
"animation_prompt": "A cinematic animation sequence following the characters through the emotional scene."
}The primary analysis is first generated in English.
The interface supports English and Persian, providing a localized analysis experience for both languages.
Portfolio MVP
Manga Analyzer is currently a lightweight portfolio project focused on demonstrating the core AI image-analysis workflow.
The current version intentionally keeps the architecture simple and focused.
Possible future improvements include:
- Multiple page analysis
- OCR
- Dialogue extraction
- Panel detection
- Character consistency
- Story context
- Additional languages
- Batch analysis
- Video generation
These features are outside the scope of the current MVP.
The OpenRouter API key must never be exposed in the frontend.
The intended architecture is:
React
↓
FastAPI
↓
OpenRouter
↓
AI Model
The API key remains on the backend.
This project is licensed under the MIT License. See the LICENSE file for details.
