{
"type": "init",
"model": "aura-2-andromeda-en",
"voice": "aura-2-andromeda-en",
"config": {
"sample_rate": 24000,
"encoding": "linear16"
}
}{
"type": "text",
"text": "Hello, this is a test of text-to-speech synthesis."
}{
"type": "flush"
}{
"type": "clear"
}{
"type": "close"
}{
"type": "Metadata",
"request_id": "c16801ea-74b0-4cae-84b6-836463afa8a0",
"model_name": "aura-2-andromeda-en",
"model_version": "2025-04-15.0",
"model_uuid": "d40bb3c8-0122-484c-87db-943c415fb7d9"
}"0000FF00000000FF00000000010101010101010100000000FFFFFFFFFFFEFEFDFEFEFEFEFDFDFEFEFEFEFEFEFEFEFEFFFFFFFFFEFEFEFEFF0001000001020303030303030303030201010000FFFFFEFDFDFDFDFEFFFFFFFF0001020303020201000000FFFDFCFBFAFAFBFAF9F8F7F7F7F6F6F4F2F2F3F7FC000406090F14191A19181715110E0A05FEF9F6F3F0EEECEBEBECEEF2F6F9FC0005090D0F101010100E0C080401"{
"type": "Flushed",
"sequence_id": 0
}{
"type": "Cleared"
}{
"type": "error",
"code": "provider_error",
"message": "Provider returned an unexpected error"
}Stream low-latency conversational English text-to-speech from SLNG-hosted Deepgram Aura 2 over WebSocket, optimized for production voice agents.
Documentation Index
Fetch the complete documentation index at: https://docs.slng.ai/llms.txt
Use this file to discover all available pages before exploring further.
{
"type": "init",
"model": "aura-2-andromeda-en",
"voice": "aura-2-andromeda-en",
"config": {
"sample_rate": 24000,
"encoding": "linear16"
}
}{
"type": "text",
"text": "Hello, this is a test of text-to-speech synthesis."
}{
"type": "flush"
}{
"type": "clear"
}{
"type": "close"
}{
"type": "Metadata",
"request_id": "c16801ea-74b0-4cae-84b6-836463afa8a0",
"model_name": "aura-2-andromeda-en",
"model_version": "2025-04-15.0",
"model_uuid": "d40bb3c8-0122-484c-87db-943c415fb7d9"
}"0000FF00000000FF00000000010101010101010100000000FFFFFFFFFFFEFEFDFEFEFEFEFDFDFEFEFEFEFEFEFEFEFEFFFFFFFFFEFEFEFEFF0001000001020303030303030303030201010000FFFFFEFDFDFDFDFEFFFFFFFF0001020303020201000000FFFDFCFBFAFAFBFAF9F8F7F7F7F6F6F4F2F2F3F7FC000406090F14191A19181715110E0A05FEF9F6F3F0EEECEBEBECEEF2F6F9FC0005090D0F101010100E0C080401"{
"type": "Flushed",
"sequence_id": 0
}{
"type": "Cleared"
}{
"type": "error",
"code": "provider_error",
"message": "Provider returned an unexpected error"
}API key issued by SLNG. Pass as Authorization: Bearer <token> in the WebSocket upgrade request headers.
GET
Target region override. Auto-selected if not provided. Available regions: eu-north-1, us-east-1.
eu-north-1, us-east-1Target world part override. Auto-selected if not provided. Available world parts: eu, na.
eu, naInitialize an SLNG Deepgram Aura 2 English TTS session.
Send text to synthesize into audio output.
Force any buffered text/audio to be finalized and delivered.
Clear any queued text/audio from the current session.
Close the session and stop any further audio.
Server metadata response after SLNG Deepgram Aura 2 English session initialization.
Raw binary audio buffer from SLNG Deepgram Aura.
Acknowledges that buffered output was flushed from SLNG Deepgram Aura.
Acknowledges that queued output was cleared from SLNG Deepgram Aura.
Indicates an error occurred during synthesis.
Was this page helpful?