Skip to main content

Python client for Gradium API

Project description

Gradium Python Client

Python client library for the Gradium Voice AI API.

Text-to-Speech Streaming Example

You can find some examples in the examples/ directory. Try them out with uv. For the text-to-speech streaming example, run:

uv run --with sphn examples/tts_streaming.py \
    --text "Hello, this is a test of the Gradium TTS streaming API." \
    --api-key gsk_...

Speech-to-Text Streaming Example

You can also try the speech-to-text streaming example:

uv run --with sphn examples/tts_streaming.py \
    --audio test_file.mp3 \
    --api-key gsk_...

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

gradium-0.5.4.tar.gz (65.1 kB view details)

Uploaded Source

Built Distribution

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

gradium-0.5.4-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file gradium-0.5.4.tar.gz.

File metadata

  • Download URL: gradium-0.5.4.tar.gz
  • Upload date:
  • Size: 65.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for gradium-0.5.4.tar.gz
Algorithm Hash digest
SHA256 489bdce70b394dbf75da898182ad28d35ef4efd4f2731d1f3d753f13f51f30b2
MD5 bdf987e88c6ee68b64a037f9929336b3
BLAKE2b-256 adc3dc48d1a0ef06961ea8e180599c407b1db961a86e706ccd3af071424e67eb

See more details on using hashes here.

File details

Details for the file gradium-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: gradium-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for gradium-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e99c54e2968cd23f4969571c1899effd3eb6a22ff3f07bf06f59ffb58e0b61aa
MD5 cea69959811518c9378f0beebcb9246a
BLAKE2b-256 211c52c87a6cbb426a7ec7478c6958869fc617702c497172316ae3545b724b6b

See more details on using hashes here.

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