Skip to main content
Voice APIs live under client.voice. See the Voice API reference.

Text to speech

Returns raw audio bytes (typically MPEG):
Supported voices include ame, liora, and ayana.

Speech to text

Optional parameters:
client.voice.speech_to_text.transcribe(...) is an alias for create.