pyqt-dreamstudio
Using DreamStudio API in Python desktop application
You can make a bunch of image without installing heavy resources like CUDA, torch, etc. But it's not free.
This is separated from pyqt-openai package to people who only wants to use stable diffusion api
and who wants to fork this to make their app.
Prerequisite
You have to get the DreamStudio api key from here.
Using DreamStudio or the API requires credits. Take a look at pricing about this.
Make your image in here before doing with this app.
How to Install
By Cloninig
-
git clone ~
-
cd pyqt-dreamstudio
-
pip install -r requirements.txt
-
python setup.py install
-
cd pyqt_dreamstudio
-
python main.py
By pip
-
pip install pyqt_dreamstudio
from PyQt5.QtWidgets import QApplication
# can use PySide6 as well
from pyqt_dreamstudio.main import ImageGeneratingToolWidget
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
window = ImageGeneratingToolWidget()
window.show()
sys.exit(app.exec_())
How to Use
There is the options tab at the right side of the window.
Input your API key, choose parameters you want to set, write propmt, submit it, and you can see the result at the left side (which looks like file explorer) soon enough.
See the whole explanation about every options to make better image.
After images got generated, you can copy or download any images when you put the mouse cursor over them.
Result
Note
As far as i know, Using Stable Diffusion with API doesn't support disable safety filter. Shame!!
So if you type any words which is considered as NSFW, toast containing error message will show up
License
MIT
Metadata
Release files for pyqt-dreamstudio 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyqt-dreamstudio-0.0.12.tar.gz | 256.4 kB | Without provenance | Details for pyqt-dreamstudio-0.0.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyqt_dreamstudio-0.0.12-py3-none-any.whl | Python 3 | none | any | Details for pyqt_dreamstudio-0.0.12-py3-none-any.whl |
Total release size: 515.7 kB
Release files / pyqt-dreamstudio-0.0.12.tar.gz
| Download URL | pyqt-dreamstudio-0.0.12.tar.gz |
|---|---|
| Size | 256.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5363f58fe4df2790f3c4ffb92fff1256e316e9e4c1f80634c111186e58e0e650
|
|
BLAKE2b-256 checksum How to use checksums |
8ab96317a3ab18d54d535417eff543f9a76d0b6e7a4585babef62b8d8d399600
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.4
|
Release files / pyqt_dreamstudio-0.0.12-py3-none-any.whl
| Download URL | pyqt_dreamstudio-0.0.12-py3-none-any.whl |
|---|---|
| Size | 259.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19913ff333f709bde658bef8cf61dd6334ebf43eecb4495d09c07fc058ec9873
|
|
BLAKE2b-256 checksum How to use checksums |
e08479aa225352c7b0565b8ef796b4ead8232c474b14fa3f45e6f8fcd17a394c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.4
|
Security for pyqt-dreamstudio 0.0.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.