Skip to main content
POST
openai

Authorizations

Authorization
string
header
required

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

Body

application/json
input
string
required

Text to synthesize.

Example:

"Сәлеметсіз бе!"

model
string
default:tokay-kk-v1

OpenAI ids (tts-1, tts-1-hd, gpt-4o-mini-tts) are accepted and mapped to the default.

voice
string
default:Aigerim

Voice name.

response_format
enum<string>
default:wav

wav or pcm (raw 16-bit PCM @ 24 kHz). mp3/opus/aac/flac return 400 (not transcoded yet).

Available options:
wav,
pcm
speed
number
default:1

Speed multiplier.

Response

WAV audio (or raw PCM when response_format is pcm).

The response is of type file.