Skip to content
/ Patpix Public

Image generation Flask app using Flux models hosted on Fireworks.ai

License

Notifications You must be signed in to change notification settings

patw/Patpix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Patpix Image Generator

A simple web application for generating images using AI models.

Features

  • Generate multiple images from text prompts
  • Choose between different AI models
  • Simple authentication system
  • Download generated images
  • Clean, responsive interface

Technologies Used

  • Python 3
  • Flask web framework
  • Fireworks.ai API
  • Bootstrap 5 for styling
  • dotenv for configuration

Setup Instructions

  1. Clone this repository
  2. Install requirements:
    pip install -r requirements.txt
  3. Create a .env file with your configuration:
    FIREWORKS_API_KEY=your_api_key_here
    PATPIX_USER={"username":"password"}
    SECRET_KEY=your_secret_key_here
    
  4. Run the application:
    flask run
  5. Access the application at http://localhost:5000

Usage

  1. Log in with your credentials
  2. Select a model from the dropdown
  3. Enter your image prompt
  4. Choose how many images to generate (1-20)
  5. Click "Generate Images"
  6. View and download your generated images

Screenshots

Generation Interface Generated Images

Special Thanks

This project was created with love for my amazing mom who wanted an easy way to generate beautiful images. ❤️

License

MIT License - Feel free to use and modify for your own projects!

About

Image generation Flask app using Flux models hosted on Fireworks.ai

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published