{
"text": "Hello! Welcome to the xAI Text to Speech API.",
"voice_id": "eve"
}curl --location --request POST 'v1/tts' \
--header 'Authorization: Authorization' \
--header 'Content-Type: application/json' \
--data-raw '{
"text": "Hello! Welcome to the xAI Text to Speech API.",
"voice_id": "eve"
}'[
{
"role": "string",
"content": [
{
"type": "string",
"image_url": "string",
"detail": "string",
"text": "string"
}
]
}
]