Skip to main content
WSS
bearer
type:http

API key issued by SLNG. Pass as Authorization: Bearer <token> in the WebSocket upgrade request headers.

method
type:string

GET

Init (Unmute TTS)
type:object

Initialize Unmute TTS session with voice and configuration.

Text (Unmute TTS)
type:object

Send text to synthesize.

Flush (Unmute TTS)
type:object

Flush buffered audio.

Close (Unmute TTS)
type:object

Close TTS session.

Keepalive Message
type:object

Keep the WebSocket connection alive during silence.

Ready (Unmute TTS)
type:object

Unmute TTS session is ready.

Binary Audio Frame
type:object

Raw binary audio frame from Unmute TTS.

Flushed (Unmute TTS)
type:object

All buffered audio has been flushed.

Audio End (Unmute TTS)
type:object

All audio for the current synthesis has been sent.

Error (Unmute TTS)
type:object

Error occurred during Unmute TTS session.