"Cursor for Manga" — Transform storytelling into visual manga in under 5 minutes
An AI-first creative environment that brings the revolutionary Cursor IDE experience to sequential art creation. Never leave the canvas, never break context.
Manga IDE is designed as "v0.dev for manga" — a platform where amateur creators, content creators, and indie artists can generate professional-quality manga chapters without traditional drawing skills. The system combines deep creative control with AI-powered speed, achieving 2025-grade character consistency through reference sheets, @handle system, and automatic LoRA training.
- Guided Creation: Prompt-based generation for quick starts — fill a form, get a complete editable comic in under 5 minutes
- Blank Canvas: Full IDE workspace for professional creators with complete control
The interface never changes, keeping you in flow:
- Left Sidebar: Pages, Script, Characters, Assets, References
- Center Canvas: Infinite workspace with paginated or vertical scroll modes
- Right Sidebar: Layers, Properties, History, AI Chat
- Bottom Bar: Global Prompt Line (Cmd+K) with quick actions
- Floating Composer (Cmd+L): Multi-step AI reasoning for complex operations
Achieve >90% character consistency across all panels:
- @Handle System: Permanent identifiers like @Akira for each character
- Automatic LoRA Training: Train custom models from 12-20 images in 3 minutes
- Expression Library: 8 basic emotions per character
- Turnaround Sheets: 8-view character references
- IP-Adapter Integration: 2025-grade consistency technology
- Story Tab: Full screenplay editor with inline AI assistance
- Characters Tab: Character card management with @handles and LoRA training
- Storyboard Tab: Low-fidelity planning workspace before high-res generation
- Pages Tab: Main canvas with context-aware prompting
- Publish Tab: One-click export to PDF, Webtoon, Tapas, Kindle, EPUB, WebP
- Panel Generation: <8 seconds per panel with parallel processing
- Character Generation: Automatic extraction from story with turnarounds
- Smart Bubbles: Intelligent speech bubble positioning
- Style Anchor: Visual consistency across entire manga
- Dramatic Core: Story analysis for enhanced narrative impact
- Cmd+K: Quick actions without leaving canvas
- Cmd+L: Multi-step AI Composer with before/after diff
- @Handle Autocomplete: Reference characters in any prompt
- @ref-image: Use reference images from library
- Inline Editing: Double-click bubbles for instant text editing
- Version History: Complete timeline with branching and restoration
Frontend:
- Next.js 14/15 (App Router)
- React 18 + TypeScript
- Tailwind CSS + Shadcn/UI
- React-Konva (Canvas manipulation)
- Zustand (State management)
Backend:
- Next.js API Routes
- Trigger.dev (Job orchestration)
- Vercel AI SDK (LLM integration)
Data Layer:
- Supabase (PostgreSQL + Auth + Storage)
- Row-Level Security (RLS) policies
AI Services:
- OpenAI GPT-4o / Claude 3.5 (Script parsing, prompt generation)
- Flux Manga 1.1 / Pony XL / SD3.5 (Image generation)
- IP-Adapter (Character consistency)
- ControlNet (Sketch-to-image)
User Input → Story Analysis (Dramatic Core) → Script Generation
↓
Character Extraction → Character Design Sheets → Style Anchor
↓
Storyboard Generation → Batched Panel Generation (8 at a time)
↓
Smart Bubble Positioning → Final Assembly
Total Time: ~2-3 minutes for 4 pages
- Node.js 18+ and pnpm
- Supabase account
- OpenAI API key
- Fal.ai or Replicate API key
- Trigger.dev account
- Clone and install dependencies:
git clone <repository-url>
cd manga-ide
pnpm install- Set up environment variables:
cp .env.example .env.localEdit .env.local with your credentials:
# Database
SUPABASE_URL=https://xxx.supabase.co
SUPABASE_ANON_KEY=eyJ...
SUPABASE_SERVICE_ROLE_KEY=eyJ...
# AI Services
OPENAI_API_KEY=sk-...
FAL_API_KEY=...
# Trigger.dev
TRIGGER_API_KEY=...
TRIGGER_API_URL=https://api.trigger.dev
# App
NEXT_PUBLIC_APP_URL=http://localhost:3000
NEXTAUTH_SECRET=...- Set up Supabase database:
Run the migrations in supabase/migrations/ to create the database schema.
- Run the development server:
pnpm dev- Start Trigger.dev dev server (in separate terminal):
pnpm trigger:dev- Open the app:
Navigate to http://localhost:3000
- Requirements - Complete feature requirements with user stories
- Design Document - Architecture, components, and data models
- Quick Reference - AI generation pipeline overview
- Implementation Tasks - Development roadmap
manga-ide/
├── app/ # Next.js App Router
│ ├── (auth)/ # Authentication pages
│ ├── (dashboard)/ # Home/dashboard
│ ├── editor/[projectId]/ # Main editor workspace
│ ├── quick-start/ # Guided creation flow
│ └── api/ # API routes
├── components/ # React components
│ ├── editor/ # Canvas, panels, toolbars
│ ├── character/ # Character cards and sheets
│ ├── chat/ # AI chat interface
│ ├── tabs/ # Story, Characters, Storyboard tabs
│ └── ui/ # Shadcn/UI components
├── lib/ # Core utilities
│ ├── ai/ # AI service integrations
│ ├── db/ # Database operations
│ ├── hooks/ # React hooks
│ ├── store/ # Zustand stores
│ └── rendering/ # Canvas rendering logic
├── trigger/ # Trigger.dev jobs
│ └── manga/ # Manga generation pipeline
├── types/ # TypeScript definitions
└── supabase/ # Database migrations
- Click "Start Creating" on landing page
- Authenticate with Google/Apple/Discord/Email
- Select "Guided Creation" and choose art style
- Fill in story premise (500-3000 words)
- Click "Generate Comic"
- Wait ~2-3 minutes for complete project generation
- Start editing immediately in the full IDE
- Select "Blank Canvas" from wizard
- Write script in Story Tab
- Create character cards in Characters Tab with @handles
- Plan layouts in Storyboard Tab
- Generate high-res panels in Pages Tab
- Export to your preferred format in Publish Tab
- Cmd+K: Open global prompt bar
- Cmd+L: Open AI Composer
- Space+Drag: Pan canvas
- Scroll: Zoom canvas
- Shift+Click: Multi-select panels
- Double-click bubble: Edit text
# Unit tests
pnpm test
# E2E tests
pnpm test:e2e# Create new migration
supabase migration new <migration_name>
# Apply migrations
supabase db pushAll async AI operations run through Trigger.dev for reliability and scalability:
generate-manga: Main orchestratoranalyze-story: Story analysis + dramatic coregenerate-script: Full script generationextract-characters: Character extraction with consistency stringsgenerate-characters: Character design sheetsgenerate-storyboard: Layout planninggenerate-page-images: Batched panel generationgenerate-smart-bubbles: Bubble positioning
See QUICK_REFERENCE.md for pipeline details.
- Time to first comic: <5 minutes
- Panel generation: <8 seconds per panel
- Page load: <2 seconds
- Canvas interaction: 60fps
- Export time: <30 seconds for 20 pages
- Character consistency: >90% across panels
- 50 generations per day
- Casual character consistency
- Standard export formats
- Unlimited generations
- Professional consistency with LoRA training
- 4K export
- Watermark removal
- Custom LoRA slot
- Team collaboration
- Direct platform upload
- Priority queue
- Video export
- ✅ Guided creation flow
- ✅ Character @handle system
- ✅ Canvas manipulation
- ✅ AI generation pipeline
- ✅ Export to multiple formats
- Real-time collaboration
- Mobile companion app
- Advanced export (animated WebP)
- Voice mode
- Character/style marketplace
- Team workspaces
- Video export
- 3D character models
- AI Director Mode
- Print-on-demand integration
- Auto-translation (20+ languages)
- Git-like version control
This project follows a spec-driven development approach. See tasks.md for the implementation roadmap.
MIT
- Inspired by Cursor IDE's revolutionary developer experience
- Built with modern AI technologies (Flux, GPT-4o, Claude)
- Powered by Trigger.dev for reliable job orchestration