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

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

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json

Successful response

The response is of type object.