Simple frontend for accessing image and speech generation APIs.
Project description
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.
Project details
Release history Release notifications | RSS feed
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 promptart-0.2.0.tar.gz.
File metadata
- Download URL: promptart-0.2.0.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06e435bff7f913df4cbe68144b26b227919405bc9e66cd1dfd219aa52ed8fd33
|
|
| MD5 |
feed65c0c0cb7c13b808b642cdf7a664
|
|
| BLAKE2b-256 |
aa8e913b12688fe2dd2da9f48ceb8a160d219399dfb59b8cf01c81608c0db270
|
Provenance
The following attestation bundles were made for promptart-0.2.0.tar.gz:
Publisher:
build.yml on manuelkonrad/promptart
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
promptart-0.2.0.tar.gz -
Subject digest:
06e435bff7f913df4cbe68144b26b227919405bc9e66cd1dfd219aa52ed8fd33 - Sigstore transparency entry: 159053789
- Sigstore integration time:
-
Permalink:
manuelkonrad/promptart@359c4bf3055941edcd88a5cd514817f4cdcae1f6 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/manuelkonrad
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@359c4bf3055941edcd88a5cd514817f4cdcae1f6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file promptart-0.2.0-py3-none-any.whl.
File metadata
- Download URL: promptart-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7190c150dc95d678b1c9c89068b8596a22f10a44a889de747ad7d37cafd20d5d
|
|
| MD5 |
3d022891d86133c1712dbb46cbea9583
|
|
| BLAKE2b-256 |
e20060f4f31e62ebbb3c5285fd9e8c0785d803093d41a543700dd06f30a2954b
|
Provenance
The following attestation bundles were made for promptart-0.2.0-py3-none-any.whl:
Publisher:
build.yml on manuelkonrad/promptart
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
promptart-0.2.0-py3-none-any.whl -
Subject digest:
7190c150dc95d678b1c9c89068b8596a22f10a44a889de747ad7d37cafd20d5d - Sigstore transparency entry: 159053790
- Sigstore integration time:
-
Permalink:
manuelkonrad/promptart@359c4bf3055941edcd88a5cd514817f4cdcae1f6 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/manuelkonrad
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@359c4bf3055941edcd88a5cd514817f4cdcae1f6 -
Trigger Event:
push
-
Statement type: