Skip to main content
POST
/
v1
/
tts
/
slng
/
deepgram
/
aura:2-es
Aura 2 (Spanish)
curl --request POST \
  --url https://api.slng.ai/v1/tts/slng/deepgram/aura:2-es \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "aura-2-celeste-es",
  "text": "Hola, esto es una prueba de síntesis de texto a voz."
}
'
"<string>"

Authorizations

Authorization
string
header
required

API key issued by SLNG. Pass as Authorization: Bearer <token>.

Headers

X-Region-Override
enum<string>

Target region override. Auto-selected if not provided.

Available options:
ap-southeast-2
X-World-Part-Override
enum<string>

Target world part override. Auto-selected if not provided.

Available options:
eu

Body

application/json
text
string
required

Text to synthesize.

Minimum string length: 1
encoding
enum<string>
default:mp3

Output audio encoding.

Available options:
linear16,
mp3,
opus,
flac,
aac,
mulaw,
alaw
sample_rate
enum<integer>
default:24000

Output sample rate in Hz.

Available options:
8000,
16000,
24000,
32000,
48000
container
enum<string>
default:wav

Output file format container.

Available options:
none,
wav,
ogg
bit_rate
enum<integer>

Output bit rate for lossy encodings.

Available options:
8000,
16000,
24000,
32000,
48000,
64000,
96000,
128000,
192000,
256000
model
enum<string>
default:aura-2-celeste-es

Spanish voice model. Check the full list with audio samples in the voice list.

Available options:
aura-2-sirio-es,
aura-2-nestor-es,
aura-2-carina-es,
aura-2-celeste-es,
aura-2-alvaro-es,
aura-2-diana-es,
aura-2-aquila-es,
aura-2-selena-es,
aura-2-estrella-es,
aura-2-javier-es

Response

Synthesis successful.

Binary audio data.