pyimagen


Namepyimagen JSON
Version 0.3.2 PyPI version JSON
download
home_pageNone
SummaryA PyQt6-based AI image generation desktop application
upload_time2024-11-24 17:02:57
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License Copyright (c) 2024 Your Name Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords ai desktop gui image generation pyqt
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://x.com/rikarends) [Makepad](https://github.com/makepad/makepad) based version. 

[@ronaldmannak](https://x.com/ronaldmannak)'s [Flux AI Studio](https://apps.apple.com/nl/app/flux-ai-studio-for-media/id6725615977?l=en-GB&mt=12).

<img alt="UI" src="https://github.com/user-attachments/assets/3c6748f1-b0ad-4c49-8baa-ce9d6e7d4ee6">

## 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
```bash
pip install pyimagen
pyimagen
```

### From Source

1. Clone the repository and `cd` into it
2. Install the necessary dependencies:

```bash
# Optional
python -m venv .venv && source .venv/bin/activate 
pip install -e .
python app.py
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyimagen",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "ai, desktop, gui, image generation, pyqt",
    "author": null,
    "author_email": "Rick Lamers <ricklamers@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/29/92/71d04015cb4226c335594d3af99da55af1d79db53cd4739c88b70b6f0f2f/pyimagen-0.3.2.tar.gz",
    "platform": null,
    "description": "# PyImagen\nPyImagen 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.\n\n# Inspiration\n[@rikarends](https://x.com/rikarends) [Makepad](https://github.com/makepad/makepad) based version. \n\n[@ronaldmannak](https://x.com/ronaldmannak)'s [Flux AI Studio](https://apps.apple.com/nl/app/flux-ai-studio-for-media/id6725615977?l=en-GB&mt=12).\n\n<img alt=\"UI\" src=\"https://github.com/user-attachments/assets/3c6748f1-b0ad-4c49-8baa-ce9d6e7d4ee6\">\n\n## Features\n\n- Generate images from text prompts utilizing multiple AI models\n- Create random prompts using Groq's LLM\n- Enhance prompts with additional creative details using Groq's LLM\n- Maintain an image history with thumbnail previews\n- Copy images directly to the clipboard\n- Save images and their metadata locally for future reference\n\n## Available Models\n\n- FLUX 1 Schnell\n- Recraft V3 \n- AuraFlow\n- FLUX 1.1 Pro Ultra\n- FLUX 1.1 Pro\n- Stable Cascade\n- Fast Turbo Diffusion\n- Fast LCM Diffusion\n- And more...\n\n## Requirements\n\n- Python 3.10 or higher\n- Groq API key\n- Fal.ai API key\n\n## API keys\nSet `GROQ_API_KEY` and `FAL_KEY` in `.env` alternatively, enter them when the application starts.\n\n## Settings\n### Configuration\n\nCustomize PyImagen via `settings.json`. \n\n- **prompt-model**: Language model for prompt generation.\n  - **Default**: `\"llama-3.1-8b-instant\"`\n\n## Installation\n\n### PYPI\n```bash\npip install pyimagen\npyimagen\n```\n\n### From Source\n\n1. Clone the repository and `cd` into it\n2. Install the necessary dependencies:\n\n```bash\n# Optional\npython -m venv .venv && source .venv/bin/activate \npip install -e .\npython app.py\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Your Name  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "A PyQt6-based AI image generation desktop application",
    "version": "0.3.2",
    "project_urls": {
        "Homepage": "https://github.com/ricklamers/pyimagen",
        "Issues": "https://github.com/ricklamers/pyimagen/issues",
        "Repository": "https://github.com/ricklamers/pyimagen.git"
    },
    "split_keywords": [
        "ai",
        " desktop",
        " gui",
        " image generation",
        " pyqt"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "91608f325aa9fef8132adba4ae46694adcd37f35447cedc91a8f5dd0486c6446",
                "md5": "b20dd4d35239d19db141380d462c5e65",
                "sha256": "f4a29729d4c66dbb59a88aaff92a23095d943663deaebcb0d09eb3f2b8fb1353"
            },
            "downloads": -1,
            "filename": "pyimagen-0.3.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b20dd4d35239d19db141380d462c5e65",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 16071,
            "upload_time": "2024-11-24T17:02:55",
            "upload_time_iso_8601": "2024-11-24T17:02:55.875062Z",
            "url": "https://files.pythonhosted.org/packages/91/60/8f325aa9fef8132adba4ae46694adcd37f35447cedc91a8f5dd0486c6446/pyimagen-0.3.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "299271d04015cb4226c335594d3af99da55af1d79db53cd4739c88b70b6f0f2f",
                "md5": "e0c909d3b4ce643d3d769dbd06c0d9dd",
                "sha256": "0284fa4b692dae002f409026e2c3faef484bfea2f82fdbc51ebd478191bfc0db"
            },
            "downloads": -1,
            "filename": "pyimagen-0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "e0c909d3b4ce643d3d769dbd06c0d9dd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 876936,
            "upload_time": "2024-11-24T17:02:57",
            "upload_time_iso_8601": "2024-11-24T17:02:57.524924Z",
            "url": "https://files.pythonhosted.org/packages/29/92/71d04015cb4226c335594d3af99da55af1d79db53cd4739c88b70b6f0f2f/pyimagen-0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-24 17:02:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ricklamers",
    "github_project": "pyimagen",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyimagen"
}
        
Elapsed time: 0.87537s