Skip to main content

A PyQt6-based AI image generation desktop application

Project description

PyImagen

PyImagen is a desktop GUI app for generating images using a variety of models via the Fal.ai API, with prompt generation by Groq's fast LLM inference.

Inspiration

@rikarends Makepad based version.

@ronaldmannak's Flux AI Studio.

UI

Features

  • Generate images from text prompts utilizing multiple AI models
  • Create random prompts using Groq's LLM
  • Enhance prompts with additional creative details using Groq's LLM
  • Maintain an image history with thumbnail previews
  • Copy images directly to the clipboard
  • Save images and their metadata locally for future reference

Available Models

  • FLUX 1 Schnell
  • Recraft V3
  • AuraFlow
  • FLUX 1.1 Pro Ultra
  • FLUX 1.1 Pro
  • Stable Cascade
  • Fast Turbo Diffusion
  • Fast LCM Diffusion
  • And more...

Requirements

  • Python 3.10 or higher
  • Groq API key
  • Fal.ai API key

API keys

Set GROQ_API_KEY and FAL_KEY in .env alternatively, enter them when the application starts.

Settings

Configuration

Customize PyImagen via settings.json.

  • prompt-model: Language model for prompt generation.
    • Default: "llama-3.1-8b-instant"

Installation

PYPI

pip install pyimagen
pyimagen

From Source

  1. Clone the repository and cd into it
  2. Install the necessary dependencies:
# Optional
python -m venv .venv && source .venv/bin/activate 
pip install -e .
python app.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyimagen-0.3.1.tar.gz (3.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyimagen-0.3.1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file pyimagen-0.3.1.tar.gz.

File metadata

  • Download URL: pyimagen-0.3.1.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pyimagen-0.3.1.tar.gz
Algorithm Hash digest
SHA256 e21f57f893976b97d86befe9e7746efa8717299cf61545741bf8b9aec66d31db
MD5 0e46d7869e1ca80d7ae09b3775de38d6
BLAKE2b-256 8a7af8b3b1b04cf445106f8dcb4da4f12fdd4f536be44b80f1b14d0cc6e77d70

See more details on using hashes here.

File details

Details for the file pyimagen-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: pyimagen-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pyimagen-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1891164dafa021256db47d2c067ba3cdb43748e22e99354ebaf1979791f67ae
MD5 415e1861f7943fc3e146ed9494f00977
BLAKE2b-256 120c2e6eacc1e8a56caebf5ffe84e87779b9258a16a1e48a246f92632707fafc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page