Skip to main content
POST
Listen to a voice of the catalog

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. Org API keys (iak_*) are not accepted here - they carry no user identity. Use the x-prismeai-api-key header instead (see OrgApiKeyAuth).

Body

application/json
voice
string
required

The voice, <model_id>/<voice_id>.

Maximum string length: 300
text
string

The sentence; the voice's sample_text by default, else a greeting.

Maximum string length: 200
rate
string

Speech rate, a multiplier between 0.5 and 2.

Maximum string length: 8

Response

The sentence, read.

audio
string

data:audio/mpeg;base64,…

characters
integer
cost
number