curl --request POST \
--url https://api.sayna.ai/speak \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "Hello, world!",
"tts_config": {
"model": "aura-asteria-en",
"provider": "deepgram",
"audio_format": "linear16",
"connection_timeout": 30,
"pronunciations": [
{
"pronunciation": "A P I",
"word": "API"
}
],
"request_timeout": 60,
"sample_rate": 24000,
"speaking_rate": 1,
"voice_id": "aura-asteria-en"
}
}
'