Skip to main content
POST
/
v1
/
tts
/
deepgram
/
aura:2
curl --request POST \
  --url https://api.slng.ai:2/v1/tts/deepgram/aura:2 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "aura-2-thalia-en",
  "text": "Hello, this is a test of text to speech synthesis."
}
'
"<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:
us-east-1,
us-west-1,
us-central-1,
ca-east-1,
sa-east-1,
eu-west-1,
eu-north-1,
uk-south-1,
me-south-1,
af-south-1

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 language code.

Available options:
en,
en-US,
en-GB,
en-AU,
en-PH,
es,
es-419,
es-AR,
es-CO,
es-ES,
es-MX,
nl,
nl-NL,
fr,
fr-FR,
de,
de-DE,
it,
it-IT,
ja,
ja-JP
model
enum<string>
default:aura-2-thalia-en

Voice model name.

Available options:
aura-2-amalthea-en,
aura-2-andromeda-en,
aura-2-apollo-en,
aura-2-arcas-en,
aura-2-aries-en,
aura-2-asteria-en,
aura-2-athena-en,
aura-2-atlas-en,
aura-2-aurora-en,
aura-2-callista-en,
aura-2-cordelia-en,
aura-2-cora-en,
aura-2-delia-en,
aura-2-draco-en,
aura-2-electra-en,
aura-2-harmonia-en,
aura-2-helena-en,
aura-2-hera-en,
aura-2-hermes-en,
aura-2-hyperion-en,
aura-2-iris-en,
aura-2-janus-en,
aura-2-juno-en,
aura-2-jupiter-en,
aura-2-luna-en,
aura-2-mars-en,
aura-2-minerva-en,
aura-2-neptune-en,
aura-2-odysseus-en,
aura-2-ophelia-en,
aura-2-orion-en,
aura-2-orpheus-en,
aura-2-pandora-en,
aura-2-phoebe-en,
aura-2-pluto-en,
aura-2-saturn-en,
aura-2-selene-en,
aura-2-thalia-en,
aura-2-theia-en,
aura-2-vesta-en,
aura-2-zeus-en,
aura-2-agustina-es,
aura-2-alvaro-es,
aura-2-antonia-es,
aura-2-aquila-es,
aura-2-carina-es,
aura-2-celeste-es,
aura-2-diana-es,
aura-2-estrella-es,
aura-2-gloria-es,
aura-2-javier-es,
aura-2-luciano-es,
aura-2-nestor-es,
aura-2-olivia-es,
aura-2-selena-es,
aura-2-silvia-es,
aura-2-sirio-es,
aura-2-valerio-es,
aura-2-beatrix-nl,
aura-2-cornelia-nl,
aura-2-daphne-nl,
aura-2-hestia-nl,
aura-2-lars-nl,
aura-2-leda-nl,
aura-2-rhea-nl,
aura-2-roman-nl,
aura-2-sander-nl,
aura-2-agathe-fr,
aura-2-hector-fr,
aura-2-aurelia-de,
aura-2-elara-de,
aura-2-fabian-de,
aura-2-julius-de,
aura-2-kara-de,
aura-2-lara-de,
aura-2-viktoria-de,
aura-2-cesare-it,
aura-2-cinzia-it,
aura-2-demetra-it,
aura-2-dionisio-it,
aura-2-elio-it,
aura-2-flavio-it,
aura-2-livia-it,
aura-2-maia-it,
aura-2-melia-it,
aura-2-perseo-it,
aura-2-ama-ja,
aura-2-ebisu-ja,
aura-2-fujin-ja,
aura-2-izanami-ja,
aura-2-uzume-ja

Response

Synthesis successful.

Binary audio data.