A real-time AI image generation app powered by Together AI's FLUX model. Generate high-quality images in milliseconds with a simple and intuitive interface.
- Real-time Image Generation: Generate images in milliseconds using the FLUX.1-schnell-Free model
- Customizable Settings:
- Adjust image dimensions (512px to 1024px)
- Control generation steps (1-4 steps)
- Toggle consistency mode for iterative improvements
- Image History: View and restore previous generations with their original settings
- One-Click Download: Easily download generated images
- Framework: Next.js 14 (App Router)
- Styling: Tailwind CSS
- State Management: React Query
- Image Generation: Together AI (FLUX model)
- Type Safety: TypeScript + Zod
TOGETHER_API_KEY=your_together_api_key
- Clone the repository
- Install dependencies:
npm install
- Create a
.env
file with your Together AI API key - Run the development server:
npm run dev
- Open http://localhost:3000 in your browser
- Enter a descriptive prompt for your desired image
- Adjust image settings:
- Width: Choose between 512px, 768px, or 1024px
- Height: Choose between 512px, 768px, or 1024px
- Steps: Select 1-4 steps (more steps = higher quality, slower generation)
- Consistency Mode: Toggle on to maintain consistency between generations
- Click "Generate Image"
- Download or iterate on your generated images
Powered by Shalabi