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

Request
type:object

Send text with synthesis parameters to KugelAudio TTS.

Config
type:object

Configure a KugelAudio streaming TTS session before sending text chunks.

Text Chunk
type:object

Send an incremental text chunk for streaming TTS generation.

Flush
type:object

Force immediate generation of all buffered text.

Close
type:object

End the streaming session and flush remaining buffered text.

Audio Chunk
type:object

Chunk of base64-encoded PCM audio from KugelAudio with encoding metadata.

Word Timestamps
type:object

Word-level timestamp alignment data from KugelAudio.

Final Response
type:object

Signals generation is complete with KugelAudio performance statistics.

Generation Started
type:object

Indicates buffered text has reached the generation threshold.

Chunk Complete
type:object

Signals that audio generation for a text chunk is complete.

Session Closed
type:object

Signals the streaming session has ended with aggregate statistics.

Error Response
type:object

Indicates an error occurred during synthesis.