Skip to main content
One request, one clip. The audio still streams back as it is generated — you just get one request/response, with no turns and no barge-in.

Body

string
required
The whole thing, in one request. No SSML, HTML or markdown — tags are read aloud literally.
string
default:"Ananya"
Ananya or Arjun. Case-sensitive — the model interpolates whatever it is given, so ananya produces different audio.
string
One of the eleven language codes. Auto-detected when omitted — leave it out for code-mixed text.
string
default:"Maya 2 Native"
Which model answers.

Response

audio/L16; rate=24000; channels=1
Raw PCM — 16-bit little-endian, mono, 24000 Hz. No file header.
The body is binary. Decoding it as UTF-8 corrupts it, and writing it straight to a .wav file produces something no player will open — see Quickstart for the one-line conversion.

Reuse the connection

The single biggest thing you control: