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.
Maya 2 Native (default), Maya 2 Native Emotional
(supports emotion tags), or Maya 2 Global.
See Models.Response
audio/L16; rate=24000; channels=1
Raw PCM — 16-bit little-endian, mono, 24000 Hz. No file header.
Emotion tags
Set"model": "Maya 2 Native Emotional" and write a tag inline:
[whispers] [excited] [frustrated] [nervous] [sad]
[curious] [laughs] [sighs] [clears throat] [coughs]. Full list and
caveats in Emotion tags.