A Flask-based AI image generation application using Stable Diffusion XL.
- Generate AI images with custom prompts
- Choose image size and number of images
- View recent generations
- Download generated images
- Responsive UI with loading states
- Image history storage
To use this project, follow these steps:
- Clone the repository
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
- Access the Application: Open a web browser and go to http://localhost:8080
Create a requirements.txt file with:
- Flask
- Pillow
- requests
- sqlite3
The application uses SQLite for storing image history and Flask's static folder for storing generated images.
Enjoy generating images with ImgGenAPI!