curl --request POST \
--url https://api.slng.ai/v1/bridges/unmute/tts/{model_variant} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"voice": "aura-2-thalia-en",
"text": "Hello, this is a test of text to speech synthesis."
}
'
"<string>"{
"error": "Validation error",
"details": "Missing required field: text"
}{
"error": "TTS service error",
"status": 400,
"details": "Rime TTS API error: 400 Bad Request - Invalid argument: Invalid speaker: aurelie"
}{
"error": "<string>",
"message": "<string>",
"statusCode": 123
}{
"error": "Service error",
"details": "Internal processing error"
}{
"error": "TTS service error",
"status": 400,
"details": "Rime TTS API error: 400 Bad Request - Invalid argument: Invalid speaker: aurelie"
}Unified TTS
Unified TTS
Synthesize speech via SLNG’s native WebSocket protocol bridge. The model_variant path parameter specifies the target TTS model (e.g., deepgram/aura:2).
POST
/
v1
/
bridges
/
unmute
/
tts
/
{model_variant}
curl --request POST \
--url https://api.slng.ai/v1/bridges/unmute/tts/{model_variant} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"voice": "aura-2-thalia-en",
"text": "Hello, this is a test of text to speech synthesis."
}
'
"<string>"{
"error": "Validation error",
"details": "Missing required field: text"
}{
"error": "TTS service error",
"status": 400,
"details": "Rime TTS API error: 400 Bad Request - Invalid argument: Invalid speaker: aurelie"
}{
"error": "<string>",
"message": "<string>",
"statusCode": 123
}{
"error": "Service error",
"details": "Internal processing error"
}{
"error": "TTS service error",
"status": 400,
"details": "Rime TTS API error: 400 Bad Request - Invalid argument: Invalid speaker: aurelie"
}Authorizations
API key issued by SLNG. Pass as Authorization: Bearer <token>.
Path Parameters
Target TTS model. Any WebSocket-capable TTS model is supported.
Available options:
cartesia/sonic:3, cartesia/sonic:3.5, deepgram/aura:2, fish/tts:s2-pro, fish/tts:s2.1-pro, gradium/tts:default, kugelaudio/kugel:2, murf/murftts:falcon, sarvam/bulbul:v3, slng/deepgram/aura:2-en, slng/fish/tts:s2.1-pro, soniox/tts-rt:v1 Body
application/json
Unmute TTS request.
Text to synthesize.
Voice identifier.
Response
Synthesis successful.
Binary audio data.