1. get an api key
sign in to the rumik dashboard, open api keys, and create a new key. the full key is shown only once at creation, so copy it somewhere safe before closing the dialog.generate an api key
create and manage keys in your dashboard.
2. pick a model
every request takes amodel and text. muga is our more expressive
model; mulberry is faster; mulberry-1.6 speaks
22 indian languages. each is steered differently. see the prompting guides for
muga, mulberry and
mulberry 1.6 for the full breakdown.
3. synthesize speech
pass your key as a bearer token. whenaudio_format is omitted, the response
body is a 24 khz mono wav.
choose another audio format
setaudio_format to opus, pcm, mulaw, alaw, or mp3. for example,
this returns opus in an ogg container:
curl
"audio_format": null. see
audio formats for binary http, json base64, and websocket
examples.
next: stream audio in real time or
build a voice agent with pipecat.