allmodels.ioDocs
Realtime WebSocket referenceNative streaming TTS

Native TTS client frames

Reference for the JSON command frames a client sends on the native /v1/tts WebSocket: text chunks, flush, and close, with schemas and examples.

The raw document is available at /audio/docs/asyncapi.yaml and from the API at api.allmodels.io/asyncapi.yaml.

Reference for the JSON command frames a client sends on the native /v1/tts WebSocket: text chunks, flush, and close, with schemas and examples.

Native streaming TTS

Address

/v1/tts

Description

Stream text in, receive binary audio out, using a simple JSON command protocol.

AuthorizationBearer <token>

AllModels API key supplied as the Authorization Bearer token.

Messages