Endpoint

Authentication

Pass your API key as a query parameter or in the initial message:

Connection Flow

  1. Open WebSocket connection
  2. Send text chunks as JSON messages
  3. Receive audio chunks in real-time
  4. Close connection when done

Message Format

Send (Text)

Receive (Audio)

Binary audio data is streamed back as WebSocket binary frames.

Example