Tree BG 1
Tree
Tree
TreeLeaves
TreeLeaves
Cat IdleGrassGrassRockRock

Audio Speech Endpoints

API for text-to-speech generation.

Speech

POST /v1/audio/speech

Generate speech from text using a saved voice or a reference audio clip.

200 (application/json)

200 (text/event-stream)

Speech audio data.

audio_data
*string

Base64 encoded audio data

Playground

Test the endpoints live

curl https://api.mistral.ai/v1/audio/speech \
 -X POST \
 -H 'Authorization: Bearer YOUR_APIKEY_HERE' \
 -H 'Content-Type: application/json' \
 -d '{
  "input": "ipsum eiusmod"
}'

200 (application/json)

200 (text/event-stream)

{
  "audio_data": "ipsum eiusmod"
}