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

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

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

Available options: eu, in, us
Init Request (Cartesia Sonic 3.5)
type:object

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

Text Message (Cartesia Sonic 3.5)
type:object

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

Flush Message
type:object

Standalone segment boundary on the active Cartesia Sonic 3 context.

Cancel Message
type:object

Cancel an in-progress Cartesia Sonic 3 synthesis context.

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.5)
type:object

Streaming audio chunk from Cartesia Sonic 3.5.

Audio End
type:object

Signals the end of audio generation.

Error Response
type:object

Indicates an error occurred during synthesis.