SLNG · AsyncAPI Specification
SLNG Gateway API - SLNG TTS
Version 0.1.0
SLNG Gateway API
View Spec
View on GitHub
CompanySpeechVoiceSpeech to TextText to SpeechVoice AIVoice AgentsTranscriptionSpeech RecognitionArtificial IntelligenceAPI GatewayAsyncAPIWebhooksEvents
Channels
/v1/tts/slng/canopylabs/orpheus:en
Stream English speech synthesis from SLNG-hosted Canopy Labs Orpheus over WebSocket with emotion control and SLNG's unified low-latency TTS protocol.
/v1/tts/slng/rime/arcana:3-en
Text-to-Speech API for generating English speech using Rime Arcana v3 TTS model. Establishes a WebSocket connection for real-time text-to-speech.
/v1/tts/slng/rime/arcana:3-es
Text-to-Speech API for generating Spanish speech using Rime Arcana v3 TTS model. Establishes a WebSocket connection for real-time text-to-speech.
/v1/tts/slng/rime/arcana:3-fr
Text-to-Speech API for generating French speech using Rime Arcana v3 TTS model. Establishes a WebSocket connection for real-time text-to-speech.
/v1/tts/slng/rime/arcana:3-hi
Text-to-Speech API for generating Hindi speech using Rime Arcana v3 TTS model. Establishes a WebSocket connection for real-time text-to-speech.
/v1/tts/slng/rime/coda:0-id
Text-to-Speech API for generating Bahasa Indonesian speech using Rime Coda TTS model. Establishes a WebSocket connection for real-time text-to-speech.
/v1/tts/slng/rime/arcana:ar
Text-to-Speech API for generating Arabic speech from text using Rime Arcana TTS model. Establishes a WebSocket connection for real-time text-to-speech.
/v1/tts/slng/rime/arcana:de
Text-to-Speech API for generating German speech from text using Rime Arcana TTS model. Establishes a WebSocket connection for real-time text-to-speech.
/v1/tts/slng/rime/arcana:en
Text-to-Speech API for generating English speech from text using Rime Arcana TTS model. Establishes a WebSocket connection for real-time text-to-speech.
/v1/tts/slng/rime/arcana:es
Text-to-Speech API for generating Spanish speech from text using Rime Arcana TTS model. Establishes a WebSocket connection for real-time text-to-speech.
/v1/tts/slng/rime/arcana:fr
Text-to-Speech API for generating French speech from text using Rime Arcana TTS model. Establishes a WebSocket connection for real-time text-to-speech.
/v1/tts/slng/deepgram/aura:2-en
Stream low-latency conversational English text-to-speech from SLNG-hosted Deepgram Aura 2 over WebSocket, optimized for production voice agents.
/v1/tts/slng/deepgram/aura:2-es
Stream low-latency conversational Spanish text-to-speech from SLNG-hosted Deepgram Aura 2 over WebSocket, optimized for production voice agents.
/v1/tts/slng/inworld/max:1.5
Stream multilingual speech synthesis from SLNG-hosted Inworld Max 1.5 over WebSocket using SLNG's unified low-latency TTS protocol.
Messages
SlngDeepgramAura2EsMetadataResponse
Metadata Response
Server metadata response after SLNG Deepgram Aura 2 Spanish session initialization.
SlngDeepgramAura2EsTtsInitRequest
Init Request
Initialize an SLNG Deepgram Aura 2 Spanish TTS session.
SlngDeepgramAuraTtsCleared
Cleared
Acknowledges that queued output was cleared from SLNG Deepgram Aura.
SlngDeepgramAuraTtsFlushed
Flushed
Acknowledges that buffered output was flushed from SLNG Deepgram Aura.
SlngDeepgramAuraTtsAudioChunk
Audio Chunk
Raw binary audio buffer from SLNG Deepgram Aura.
SlngDeepgramAura2EnMetadataResponse
Metadata Response
Server metadata response after SLNG Deepgram Aura 2 English session initialization.
SlngInworldMaxInitRequest
Init Request (Inworld Max 1.5)
Initialize an SLNG-hosted Inworld Max 1.5 session.
SlngDeepgramAura2EnTtsInitRequest
Init Request (Aura 2 English)
Initialize an SLNG Deepgram Aura 2 English TTS session.
SlngRimeArcana2TtsTextMessageFr
Text Message (French)
Send French text to synthesize.
SlngRimeArcana2TtsInitRequestFr
Init Request (Arcana French)
Initialize a French Rime Arcana TTS session.
SlngRimeArcana2TtsTextMessageEs
Text Message (Spanish)
Send Spanish text to synthesize.
SlngRimeArcana2TtsInitRequestEs
Init Request (Arcana Spanish)
Initialize a Spanish Rime Arcana TTS session.
SlngRimeArcana2TtsTextMessageEn
Text Message (English)
Send English text to synthesize.
SlngRimeArcana2TtsInitRequestEn
Init Request (Arcana English)
Initialize a English Rime Arcana TTS session.
SlngRimeArcana2TtsTextMessageDe
Text Message (German)
Send German text to synthesize.
SlngRimeArcana2TtsInitRequestDe
Init Request (Arcana German)
Initialize a German Rime Arcana TTS session.
SlngRimeArcana2TtsTextMessageAr
Text Message (Arabic)
Send Arabic text to synthesize.
SlngRimeArcana2TtsInitRequestAr
Init Request (Arcana Arabic)
Initialize a Arabic Rime Arcana TTS session.
SlngRimeArcanaTtsError
Error Response (Rime Arcana)
Indicates an error occurred during Rime Arcana TTS synthesis.
SlngRimeArcanaTtsTimestamps
Timestamps (Rime Arcana)
Word-level timing data for synthesized audio from Rime Arcana.
SlngRimeArcanaTtsAudioChunk
Audio Chunk (Rime Arcana)
Chunk of base64-encoded audio data from Rime Arcana TTS.
SlngRimeArcana3TtsTextMessage
Text Message (Arcana v3)
Send text to synthesize using Rime Arcana v3.
SlngRimeArcana3TtsInitRequest
Init Request (Rime Arcana v3)
Initialize a Rime Arcana v3 TTS session with multilingual support.
SlngRimeArcana3TtsInitRequestEs
Init Request (Rime Arcana v3 Spanish)
Initialize a Spanish Rime Arcana v3 TTS session.
SlngRimeArcana3TtsInitRequestFr
Init Request (Rime Arcana v3 French)
Initialize a French Rime Arcana v3 TTS session.
SlngRimeCoda0IdTtsInitRequest
Init Request (Rime Coda Indonesian)
Initialize a Rime Coda Indonesian TTS session.
SlngRimeCoda0IdTtsTextMessage
Text Message (Rime Coda Indonesian)
Send text to synthesize using Rime Coda Indonesian.
SlngRimeCodaTtsAudioChunk
Audio Chunk (Rime Coda)
Chunk of base64-encoded audio data from Rime Coda TTS.
SlngRimeCodaTtsError
Error Response (Rime Coda)
Indicates an error occurred during Rime Coda TTS synthesis.
TtsErrorResponse
Error Response
Indicates an error occurred during synthesis.
TtsAudioEnd
Audio End
Signals the end of audio generation.
TtsCleared
Cleared
Acknowledges that queued output was cleared.
TtsFlushed
Flushed
Acknowledges that buffered output was flushed.
TtsSegmentEnd
Segment End
Signals the end of a synthesized segment.
TtsSegmentStart
Segment Start
Signals the start of a synthesized segment.
TtsAudioChunk
Audio Chunk
Chunk of base64-encoded audio data.
TtsReadyResponse
Ready Response
Indicates the session is ready to receive messages.
TtsCloseMessage
Close Message
Close the session and stop any further audio.
TtsClearMessage
Clear Message
Clear any queued text/audio from the current session.
TtsFlushMessage
Flush Message
Force any buffered text/audio to be finalized and delivered.
TtsTextMessage
Text Message
Send text to synthesize into audio output.
TtsInitRequest
Init Request
Initialize a TTS session with model and voice configuration.
Servers
wss
production
Production
wss
staging
Staging