Skip to main content

Simple frontend for accessing image and speech generation APIs.

Project description

promptart

CI - Tests CI - Bandit CI - Build

License - MIT PyPI - Version PyPI - Python Version Python Project Management - Hatch Linting - Ruff Types - Mypy Security - Bandit

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:

  1. Setting environment variables BFL_API_KEY / OPENAI_API_KEY.
  2. Creating ~/promptart/config.json populated with parameters bfl_api_key / openai_api_key.
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

promptart-0.2.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

promptart-0.2.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

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

Hashes for promptart-0.2.0.tar.gz
Algorithm Hash digest
SHA256 06e435bff7f913df4cbe68144b26b227919405bc9e66cd1dfd219aa52ed8fd33
MD5 feed65c0c0cb7c13b808b642cdf7a664
BLAKE2b-256 aa8e913b12688fe2dd2da9f48ceb8a160d219399dfb59b8cf01c81608c0db270

See more details on using hashes here.

Provenance

The following attestation bundles were made for promptart-0.2.0.tar.gz:

Publisher: build.yml on manuelkonrad/promptart

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for promptart-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7190c150dc95d678b1c9c89068b8596a22f10a44a889de747ad7d37cafd20d5d
MD5 3d022891d86133c1712dbb46cbea9583
BLAKE2b-256 e20060f4f31e62ebbb3c5285fd9e8c0785d803093d41a543700dd06f30a2954b

See more details on using hashes here.

Provenance

The following attestation bundles were made for promptart-0.2.0-py3-none-any.whl:

Publisher: build.yml on manuelkonrad/promptart

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page