Skip to main content
POST
Stream speech with a cloned voice

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Path Parameters

id
string
required

Cloned voice id.

Body

application/json
text
string
required

Text to speak.

language
enum<string>

Opt in to Hindi pronunciation for written ₹ amounts. Omit to keep the default pronunciation.

Available options:
hi

Response

Streaming WAV audio

The response is of type file.