Create a full comic strip from a single idea using Google Gemini. The app guides you through ideation, storyboard creation, image generation, and exporting to PDF/PNG.
View the live AI Studio app: https://ai.studio/apps/drive/1CyieRiFV8bC75PRDk4r_sXfcYU19T6Sc
Prerequisites: Node.js 18+ and a Google Gemini API key (access to gemini-2.5-flash and imagen-4.0-generate-001).
- Install dependencies
npm install- Add your key to
.env.local
GEMINI_API_KEY=your-key-here- Run the app
npm run dev- API Key – enter your Gemini key. It is stored in the browser’s
localStorageundercomic-crafter-api-keyand never sent elsewhere. Use “Change API Key” in the footer to clear it. - Ideation – provide a story idea, pick or describe an art style, and optionally add character descriptions. “Suggest …” buttons ask Gemini to add twists, sidekicks, villains, etc.
- Storyboard – Gemini returns a title, cover prompts, and six panels (prompt + dialogue/narration). Review and continue.
- Generation – each prompt is sent to the image model. You can regenerate individual panels and download the finished comic as:
- PDF page (high or ultra quality)
- PNG comic strip
npm run dev– start Vite dev servernpm run build– production buildnpm run preview– preview production build
- Invalid or missing images: regenerate the specific panel and confirm your key has model access.
- Low-quality export: choose Ultra quality before downloading PDF/PNG.
- API/auth errors: update the key in
.env.local, reload, and use “Change API Key.”
For a detailed walkthrough, tips, and privacy notes, see docs/USER_GUIDE.md.
