POST
/
riva
/
tts
curl --request POST \
  --url https://api.openmind.org/api/core/riva/tts \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "text": "<string>"
}'
{
  "response": "aSDinaTvuI8gbWludGxpZnk="
}

This endpoint generates speech from text using the Riva Text to Speech (TTS) model.

Authorizations

x-api-key
string
header
required

Body

application/json
text
string
required

The text to convert to speech.

Response

200
application/json
Successful response
response
string

The base64 encoded audio data.