Skip to main content
WSS
/
v1
/
tts
/
cartesia
/
sonic:3

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

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

method
type:string

GET

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

Target world part override. Auto-selected if not provided. Available world parts: ap, eu, na.

Available options: ap, eu, na
Init Request (Cartesia Sonic 3)
type:object

Initialize a Cartesia Sonic 3 TTS session with provider-specific configuration.

Text Message (Cartesia Sonic 3)
type:object

Send text to synthesize on Cartesia Sonic 3 with optional generation controls.

Flush Message
type:object

Force any buffered text/audio to be finalized and delivered.

Close Message
type:object

Close the session and stop any further audio.

Keepalive Message
type:object

Keep the WebSocket connection alive during silence.

Audio Chunk (Cartesia Sonic 3)
type:object

Streaming audio chunk from Cartesia Sonic 3.

Audio End
type:object

Signals the end of audio generation.

Error Response
type:object

Indicates an error occurred during synthesis.