AI-powered comic creation app. Enter a story and generate manga-style comic panels using Hugging Face.
- Node.js >= 18.0.0
- npm >= 9.0.0
- MongoDB (local or cloud)
- Hugging Face account (for AI generation)
npm install
npm run install:allBackend (backend/.env):
cd backend
cp .env.example .envRequired: DATABASE_URL, HUGGINGFACE_TOKEN. See backend/README.md for Hugging Face setup.
Frontend (frontend/.env):
VITE_API_URL=http://localhost:3000npm run dev- Frontend: http://localhost:5173
- Backend: http://localhost:3000
Visit http://localhost:3000/health to check the backend.
- Create comics – Story → AI-generated panel descriptions → AI-generated panel images
- Manga styles – shounen, shoujo, seinen, chibi, isekai
- Manga AI page –
/manga-ai(UI demo)
| Layer | Tech |
|---|---|
| Frontend | React 18, Vite, React Router, Axios, TailwindCSS |
| Backend | Node.js, Express, Mongoose |
| Database | MongoDB |
| AI | Hugging Face Inference (chat + FLUX.1-schnell) |
comic-generator/
├── frontend/ # React app
├── backend/ # Express API + AI service
└── package.json
If ports 3000 or 5173 are already in use, update the port numbers in:
- Backend:
backend/.env(PORT) - Frontend:
frontend/vite.config.js(server.port)
rm -rf node_modules frontend/node_modules backend/node_modules
npm run install:allMIT