A beautiful, modern web application for generating unlimited AI images using multiple powerful models including GPT-Image-1 and DALL-E-3.
- Free unlimited image generation - No limits, no watermarks
- Dual AI models running simultaneously for comparison
- Real-time generation progress with timer and status updates
- GPT-Image-1 (Model A) - Advanced image generation
- DALL-E-3 (Model B) - High-quality artistic images
- π₯ More models coming soon: Midjourney, Stable Diffusion, and more!
- Beautiful UI built with shadcn/ui components
- Sample prompts organized by categories (Fantasy, Nature, Portrait, etc.)
- Generation history with local storage
- Download & share generated images
- Responsive design for all devices
- Prompt suggestions with curated examples
- Category filtering for prompt discovery
- Image comparison side-by-side
- Progress tracking with realistic timing
- Error handling with user-friendly messages
- StackAuth integration for user management
- Guest mode for immediate access
- Future premium features preparation
- Framework: Next.js 15 with App Router
- Language: TypeScript
- Styling: Tailwind CSS + shadcn/ui
- Icons: Lucide React
- Notifications: Sonner
- State Management: React Hooks + Local Storage
- Authentication: StackAuth (optional)
-
Clone the repository
git clone <repo-url> cd sopimg
-
Install dependencies
pnpm install # or npm install -
Run the development server
pnpm dev # or npm run dev -
Open your browser
http://localhost:3000
src/
βββ app/
β βββ api/generate/ # API route for image generation
β βββ globals.css # Global styles
β βββ layout.tsx # Root layout
β βββ page.tsx # Main page
βββ components/
β βββ ui/ # shadcn/ui components
β βββ AuthPrompt.tsx # Authentication prompt
β βββ GenerationTimer.tsx # Progress timer
β βββ HistoryPanel.tsx # Generation history
β βββ ImageCard.tsx # Image display card
β βββ PromptInput.tsx # Prompt input form
βββ data/
β βββ samplePrompts.ts # Curated prompt examples
βββ hooks/
β βββ useImageGeneration.ts # Image generation logic
β βββ useLocalStorage.ts # Local storage utilities
βββ types/
βββ index.ts # TypeScript interfaces
The application includes curated prompts across multiple categories:
- Fantasy: Dragons, magical forests, mythical creatures
- Nature: Landscapes, sunsets, natural phenomena
- Portrait: Character art, anime style, realistic portraits
- Sci-Fi: Futuristic scenes, space exploration, cyberpunk
- Abstract: Digital art, flowing patterns, geometric designs
- Animals: Cute pets, wildlife, fantasy creatures
GET /api/generate?prompt=your%20prompt%20here
Response:
{
"prompt": "your prompt",
"modelAImage": {
"image": "https://...",
"mimeType": "image/png"
},
"modelBImage": {
"image": "https://...",
"mimeType": "image/png"
}
}- Real-time progress tracking
- Realistic progress curve simulation
- Status messages for different generation phases
- Time elapsed counter
- Automatic saving to local storage
- Thumbnail previews
- Quick prompt reuse
- Download from history
- Clear history option
- High-quality image display
- Model identification badges
- Download functionality
- Open in new tab
- Responsive design
- Optional StackAuth integration
- Guest mode for immediate access
- Future premium features support
- Beautiful onboarding experience
This application can be deployed on:
- Vercel (recommended for Next.js)
- Netlify
- Railway
- Any Node.js hosting platform
For StackAuth integration (optional):
NEXT_PUBLIC_STACK_PROJECT_ID=your_stack_project_id- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is open source and available under the MIT License.
- LM Arena for the AI model API
- shadcn/ui for beautiful components
- Lucide for icons
- Tailwind CSS for styling
For support, please open an issue on GitHub or contact the development team.
Made with β€οΈ by the AI Image Generator team
π¨ Unlimited AI Image Generation - Forever Free