promptart
Simple frontend for accessing image and speech generation APIs. Made with Streamlit.
Currently supported:
- Black Forest Labs Flux (Text-to-Image, In/Out-Painting, Image Variation, Structural Conditioning)
- OpenAI Dall-E (Text-to-Image)
- OpenAI TTS (Text-to-Speech)
Table of Contents
Getting Started
Install promptart using pipx:
pipx install promptart
Alternatively, install promptart using pip:
pip install --user promptart
Start the application:
promptart
Additional streamlit arguments can be appended. For example, to change the server port:
promptart --server.port 5000
The API keys for authentication can be provided in the following ways:
- Setting environment variables
BFL_API_KEY/OPENAI_API_KEY. - Creating
~/promptart/config.jsonpopulated with parametersbfl_api_key/openai_api_key. - If 1. and 2. are not set, the API keys can also be provided in the frontend.
Further information about creating API keys:
To limit access to the frontend, a simple password check can be enabled by
setting the environment variable PROMPTART_PASSWORD.
License
promptart is distributed under the terms of the MIT license.
Metadata
Release files for promptart 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| promptart-0.2.0.tar.gz | 11.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| promptart-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.1 kB
Release files / promptart-0.2.0.tar.gz
| Download URL | promptart-0.2.0.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06e435bff7f913df4cbe68144b26b227919405bc9e66cd1dfd219aa52ed8fd33
|
|
BLAKE2b-256 checksum How to use checksums |
aa8e913b12688fe2dd2da9f48ceb8a160d219399dfb59b8cf01c81608c0db270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 2, 2025.
Transparency logRelease files / promptart-0.2.0-py3-none-any.whl
| Download URL | promptart-0.2.0-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7190c150dc95d678b1c9c89068b8596a22f10a44a889de747ad7d37cafd20d5d
|
|
BLAKE2b-256 checksum How to use checksums |
e20060f4f31e62ebbb3c5285fd9e8c0785d803093d41a543700dd06f30a2954b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 2, 2025.
Transparency log