Skip to main content
POST
/
v1
/
tts
/
slng
/
deepgram
/
aura:2-en
Aura 2 (English)
curl --request POST \
  --url https://api.slng.ai/v1/tts/slng/deepgram/aura:2-en \
  --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:
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 English language code.

Available options:
en,
en-US,
en-GB,
en-AU,
en-PH
model
enum<string>
default:aura-2-thalia-en

English voice model.

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

Response

Synthesis successful.

Binary audio data.