Skip to main content
POST
Speech to text

Authorizations

Authorization
string
header
required

Passing the authorization token in the Authorization header: Bearer .

Body

file
file
required

An audio file in any common format (mp3, mp4, m4a, mpeg, mpga, ogg, wav, webm, flac), up to 25 MB and 120 seconds.

model
string

Accepted for compatibility; transcription always uses the ER:LC Russia model.

Example:

"whisper-1"

language
string

Speech language (ISO-639-1), ru by default.

Example:

"ru"

response_format
enum<string>
default:json

json returns an object with the text, text returns plain text.

Available options:
json,
text

Response

The recognized text. The credits charged are in the X-Credits-Charged header.

text
string
Example:

"Как расшифровывается РД?"

usage
object