Skip to main content
POST
Text to speech

Authorizations

Authorization
string
header
required

Passing the authorization token in the Authorization header: Bearer .

Body

application/json
input
string
required

Текст для озвучивания.

Required string length: 1 - 6000
model
enum<string>
default:emmy-voice-1
Available options:
emmy-voice-1,
supertonic,
tts-1,
tts-1-hd
language
enum<string>
default:ru
Available options:
ru,
uk,
be,
en,
es,
it,
fr,
zh,
ja,
ko
voice
enum<string>
default:default
Available options:
default,
F1,
F2,
emmy,
emmy-v2,
alloy,
nova
response_format
enum<string>
default:mp3
Available options:
mp3,
wav,
pcm,
aac,
flac,
opus
speed
number
default:1
Required range: 0.25 <= x <= 4
stream
boolean
default:false

ER:LC Russia extension: an NDJSON stream with one line per sentence. Use stream_format: sse for the OpenAI format.

stream_format
enum<string>
default:audio

audio returns the whole file (default), sse streams speech.audio.delta and speech.audio.done events.

Available options:
audio,
sse

Response

Successful response.

The response is of type file.