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.
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"
- Default:
Installation
PYPI
pip install pyimagen
pyimagen
From Source
- Clone the repository and
cdinto it - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyimagen-0.3.2.tar.gz.
File metadata
- Download URL: pyimagen-0.3.2.tar.gz
- Upload date:
- Size: 876.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0284fa4b692dae002f409026e2c3faef484bfea2f82fdbc51ebd478191bfc0db
|
|
| MD5 |
e0c909d3b4ce643d3d769dbd06c0d9dd
|
|
| BLAKE2b-256 |
299271d04015cb4226c335594d3af99da55af1d79db53cd4739c88b70b6f0f2f
|
File details
Details for the file pyimagen-0.3.2-py3-none-any.whl.
File metadata
- Download URL: pyimagen-0.3.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4a29729d4c66dbb59a88aaff92a23095d943663deaebcb0d09eb3f2b8fb1353
|
|
| MD5 |
b20dd4d35239d19db141380d462c5e65
|
|
| BLAKE2b-256 |
91608f325aa9fef8132adba4ae46694adcd37f35447cedc91a8f5dd0486c6446
|