Skip to main content
POST
SDK

Authorizations

Authorization
string
header
required

Your geko API key (sk-tokay-…). Create and manage keys in the console.

Body

application/json
text
string
required

Text to synthesize (up to ~5000 characters).

Example:

"Сәлеметсіз бе! Тапсырыс нөмірі 152, сомасы 5500 ₸."

model
string
default:tokay-kk-v1

Model id.

voice
string
default:Aigerim

Voice name from GET /v1/voices. Defaults to the model's default voice.

speed
number
default:1

Speed multiplier.

Required range: 0.5 <= x <= 2
nfe
integer
default:32

Diffusion steps: 16 fast, 32 quality.

normalize
boolean
default:true

Expand numbers, currency, and dates into spoken Kazakh.

Response

A stream of length-prefixed WAV frames (wav-frames-v1).

The response is of type file.