Skip to main content
WSS
wss://dev.voice.ai
/
api
/
v1
/
tts
/
multi-stream
Messages
bearerAuth
type:http

API key (vk_*). Include in Authorization header: 'Bearer YOUR_API_KEY'. Required for all WebSocket connections. See the Authentication guide for details.

Context Initialization Message
type:object

First message to a context_id to set up that context

Text-Only Message
type:object

Subsequent messages to an existing context (text-only, no params)

Audio Chunk Response
type:object

Base64-encoded audio chunk with context_id (streamed immediately)

Completion Signal
type:object

Sent after all audio chunks for a context (separate message)

Error Response
type:object

Error message from server with context_id