Overview
Welcome to ZeroWeight AI
Realtime streaming speech and browser avatar rendering, for developers.
ZeroWeight AI builds realtime voice and avatar models. There are two products here, and they are independent: a streaming text-to-speech API you talk to over a WebSocket, and an avatar rendering engine that runs in the browser.
Text to Speech
Stream Vietnamese speech over a WebSocket. Audio starts arriving while the model is still decoding.
Avatar Renderer
Drive a 2D avatar on a canvas from your own application, with your own audio pipeline.
Authentication
One API key, one header, and a session route that keeps that key off the browser.
Playground
Stream a sentence on your own key and measure the latency your integration will get.
Text to speech#
One model, one endpoint. You open a socket, send text as it becomes available, and receive binary PCM frames as they are produced. There is no request that finishes before audio begins. That is the whole point of it: a voice agent can start speaking a sentence its language model has not finished writing.
- Streaming only. There is no batch or file endpoint today. Everything goes through the WebSocket protocol.
- Mono 16-bit PCM at 24 kHz by default, in 12-byte-framed binary messages. No base64, no per-chunk JSON parse.
- Eight Vietnamese voices built in, plus any voice you have cloned in the Audio Studio. See Voices.
- Billed by the second of open socket, silence included, from a credit balance separate from your Companion balance. See Pricing and limits.
The Chat API has been removed. Applications that used it should drive their own conversation loop and use the renderer and the speech API directly.
Avatar renderer#
The renderer is a framework-agnostic package that draws an avatar on a <canvas> and plays its actions. It is documented here for developers building their own stack: you fetch a bundle, initialise the engine, and call play(). How the audio and the conversation get there is yours.
Start at the renderer-only flow.
Getting help#
- The API Platform for your plan, credit balance, keys and the playground.
- support@zeroweight.ai. Quote the gateway name and session id from a failed connection and we can find it in the logs.
