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.",
  "language": "es"
}
'
"<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:
eu-west-1,
ap-southeast-2,
eu-west-2

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,
mp3
bit_rate
enum<integer>

Output bit rate for lossy encodings.

Available options:
8000,
16000,
24000,
32000,
48000,
64000,
96000,
128000,
192000,
256000
tag
string

Tag for request tracking.

language
enum<string>

Supported Spanish language code.

Available options:
es,
es-419,
es-AR,
es-CO,
es-ES,
es-MX
model
enum<string>
default:aura-2-celeste-es

Spanish voice model.

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.