Skip to main content
WSS
/
v1
/
tts
/
soniox
/
tts-rt:v1

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.

Messages
bearer
type:http
method
type:string

GET

headers
type:object
X-World-Part-Override
type:enum

Override target world part. Auto-selected if not provided.

Available options: na
Connection Config Message
type:object

Initialize a TTS stream. Sent once per stream_id before any text frames.

Text Streaming Message
type:object

Stream text incrementally to the active stream. Set text_end true on the final chunk.

Cancel Message
type:object

Cancel an in-flight stream. Server stops audio and terminates the stream.

Audio Response
type:object

Audio bytes for the stream chunk. audio_end true marks the final audio payload (stream not yet terminated).

Terminal Stream Event
type:object

Server has fully closed the stream and released resources. stream_id may now be reused.

Error Response
type:object

An error encountered on the stream. After an error the stream is typically terminated.