Skip to main content

Audra v2 TTS client — OpenAI-compatible speech API

Project description

audra

Thin httpx wrapper for the Audra v2 TTS API.

from audra import Audra

client = Audra("sk-audra-...")

audio = client.speech(
    "Hello[pause:1.2s]world",
    voice="kore",
    delivery_profile="podcast_v3",
    normalize=True,
)

result = client.speech_captioned("Hello captioned world", voice="kore")
open("out.mp3", "wb").write(result["audio"])
print(result["captions"]["words"])

phonemes = client.phonemize("Roth IRA", voice="kore")

Migration guide: https://audratalks.com/migrate

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

audra-0.2.3.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

audra-0.2.3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file audra-0.2.3.tar.gz.

File metadata

  • Download URL: audra-0.2.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for audra-0.2.3.tar.gz
Algorithm Hash digest
SHA256 9c53b17ac6e6c04b917e83d1a7c3b97b25cace5e172dcc634b9269c1f0ecce87
MD5 45b56742f46cb8e5ea2ce395faa2cf03
BLAKE2b-256 95a11d669e514da4c20622ec0a8df0cb90d437ba71c13084e14d964674a631b0

See more details on using hashes here.

File details

Details for the file audra-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: audra-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for audra-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b733f4ffb6606e9d2d6111b192ae2bb951ec9ce3139a02f84f2b80423a797143
MD5 fd8de1643f192f8d39074a27e02337f3
BLAKE2b-256 77c378f8feb06736f96a2a72a2baed8f3c1089c1be8bd6a9e2aa7702c4bc7fb5

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