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)
Install promptart using pipx:
pipx install promptartAlternatively, install promptart using pip:
pip install --user promptartStart the application:
promptartAdditional streamlit arguments can be appended. For example, to change the server port:
promptart --server.port 5000The 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.
promptart is distributed under the terms of the MIT license.