gtk-stable-diffusion


Namegtk-stable-diffusion JSON
Version 0.0.9.1 PyPI version JSON
download
home_pagehttps://github.com/nazodane/gtk_stable_diffusion
SummaryA simple GTK UI for Stable Diffusion.
upload_time2022-12-09 02:01:03
maintainer
docs_urlNone
authorToshimitsu Kimura
requires_python>=3.10.0
licenseApache
keywords stable_diffusion diffusers
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            The GTK Stable Diffusion is a very simple text-to-image tool. The tool is based on [GTK](https://en.wikipedia.org/wiki/GTK) UI framework and [Diffusers](https://github.com/huggingface/diffusers)' [Stable Diffusion](https://en.wikipedia.org/wiki/Stable_Diffusion) text-to-image pipeline.

GTK Stable Diffusion aims just for fun. This means the tool is more focusing on ~~spells~~ prompts than many small adjustments and random generations.

Installation
============
GTK Stable Diffusion is easily installable via pip command:
```bash
pip install gtk_stable_diffusion
```
or
```bash
pip install git+https://github.com/nazodane/gtk_stable_diffusion.git
```

Note that the model weights are automatically downloaded via [BitTorrent magnet link](https://en.wikipedia.org/wiki/Magnet_URI_scheme) using [libtorrent](https://en.wikipedia.org/wiki/Libtorrent) and the model weights are automatically converted from original Stable Diffusion format to Diffusers format in the first launch of the tool.

Usage
=====
```bash
~/.local/bin/gtk-stable-diffusion
```

Note: ctrl+space will show the candidates of synonyms for prompt and antonyms for negative prompt


Requirements
============
* Linux
* Python 3.10 or later
* CUDA 11.7 or later
* DRAM 16GB or higher
* RTX 3060 12GB or higher (the VRAM usage is currently over 8GB!)

Recommendations
===============
* Ubuntu 22.04 or later
* DRAM 32GB or higher
* NVMe SSD
* Faster non-restricted internet connections

License
=======
GTK Stable Diffusion codes are under Apache License 2.0. This is because we almost depend on Diffusers.

GTK and [its Python bindings are LGPL](https://www.gtk.org/docs/language-bindings/python) so we should carefully treat GTK-related codes.

Screenshot
==========
![Screenshot Image](screenshot.png)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nazodane/gtk_stable_diffusion",
    "name": "gtk-stable-diffusion",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10.0",
    "maintainer_email": "",
    "keywords": "stable_diffusion diffusers",
    "author": "Toshimitsu Kimura",
    "author_email": "lovesyao@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b8/29/b92aaa22e01452e43252967f6f5542e3f7dcf8c333a2beff8b8f5def3e9a/gtk_stable_diffusion-0.0.9.1.tar.gz",
    "platform": null,
    "description": "The GTK Stable Diffusion is a very simple text-to-image tool. The tool is based on [GTK](https://en.wikipedia.org/wiki/GTK) UI framework and [Diffusers](https://github.com/huggingface/diffusers)' [Stable Diffusion](https://en.wikipedia.org/wiki/Stable_Diffusion) text-to-image pipeline.\n\nGTK Stable Diffusion aims just for fun. This means the tool is more focusing on ~~spells~~ prompts than many small adjustments and random generations.\n\nInstallation\n============\nGTK Stable Diffusion is easily installable via pip command:\n```bash\npip install gtk_stable_diffusion\n```\nor\n```bash\npip install git+https://github.com/nazodane/gtk_stable_diffusion.git\n```\n\nNote that the model weights are automatically downloaded via [BitTorrent magnet link](https://en.wikipedia.org/wiki/Magnet_URI_scheme) using [libtorrent](https://en.wikipedia.org/wiki/Libtorrent) and the model weights are automatically converted from original Stable Diffusion format to Diffusers format in the first launch of the tool.\n\nUsage\n=====\n```bash\n~/.local/bin/gtk-stable-diffusion\n```\n\nNote: ctrl+space will show the candidates of synonyms for prompt and antonyms for negative prompt\n\n\nRequirements\n============\n* Linux\n* Python 3.10 or later\n* CUDA 11.7 or later\n* DRAM 16GB or higher\n* RTX 3060 12GB or higher (the VRAM usage is currently over 8GB!)\n\nRecommendations\n===============\n* Ubuntu 22.04 or later\n* DRAM 32GB or higher\n* NVMe SSD\n* Faster non-restricted internet connections\n\nLicense\n=======\nGTK Stable Diffusion codes are under Apache License 2.0. This is because we almost depend on Diffusers.\n\nGTK and [its Python bindings are LGPL](https://www.gtk.org/docs/language-bindings/python) so we should carefully treat GTK-related codes.\n\nScreenshot\n==========\n![Screenshot Image](screenshot.png)\n\n\n",
    "bugtrack_url": null,
    "license": "Apache",
    "summary": "A simple GTK UI for Stable Diffusion.",
    "version": "0.0.9.1",
    "split_keywords": [
        "stable_diffusion",
        "diffusers"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "20bbb0e4d6dc4c4f54b037bfde4b5c16",
                "sha256": "0cb68500107adc72ac11e25b6e0f22240d54b57f9063a72b1667da640890d89b"
            },
            "downloads": -1,
            "filename": "gtk_stable_diffusion-0.0.9.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "20bbb0e4d6dc4c4f54b037bfde4b5c16",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10.0",
            "size": 222257,
            "upload_time": "2022-12-09T02:01:01",
            "upload_time_iso_8601": "2022-12-09T02:01:01.196929Z",
            "url": "https://files.pythonhosted.org/packages/03/cf/733062b7e1763ee2a468795057a7a16bf418f44e88b1f2aac3e08025eb20/gtk_stable_diffusion-0.0.9.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "e410ff6c2abbd037aef96322b0e89fc0",
                "sha256": "f0a424ca777791c5395c6ecc5cc818bc1feb345a22bad598540cf60facaa0b28"
            },
            "downloads": -1,
            "filename": "gtk_stable_diffusion-0.0.9.1.tar.gz",
            "has_sig": false,
            "md5_digest": "e410ff6c2abbd037aef96322b0e89fc0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10.0",
            "size": 192924,
            "upload_time": "2022-12-09T02:01:03",
            "upload_time_iso_8601": "2022-12-09T02:01:03.965973Z",
            "url": "https://files.pythonhosted.org/packages/b8/29/b92aaa22e01452e43252967f6f5542e3f7dcf8c333a2beff8b8f5def3e9a/gtk_stable_diffusion-0.0.9.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-09 02:01:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "nazodane",
    "github_project": "gtk_stable_diffusion",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "gtk-stable-diffusion"
}
        
Elapsed time: 0.02495s