Generate images with AI — full app with gallery
A full-stack AI image generator built with Next.js 15 and OpenAI (DALL-E 3). Generate, browse, download and reuse — with a working mock fallback so the app runs without an API key.
What's included
- Image generation — OpenAI DALL-E 3 integration
- Mock fallback — app works without an API key
- Size selection — 1024×1024 / 1024×1792 / 1792×1024
- Persistent gallery — localStorage history
- Download button — one-click save
- Prompt history — click to reuse past prompts
- Dark glassmorphism — modern premium UI
Quick Start
npm install
cp env.example .env # add OPENAI_API_KEY
npm run dev
Stack
Next.js 15 · React 19 · OpenAI · TypeScript · Tailwind
Use cases
- AI content apps
- Marketing asset generators
- Product demos
- Internal creative tools