Speech-to-Text

Chuyển audio thành text (multipart/form-data).

Authentication

AuthorizationBearer
API key làm bearer token. Tạo API key tại [Console](https://console.staging.tram.ai.vn/keys).

Request

This endpoint expects a multipart form containing a file.
modelstringRequired
Model ID
filefileRequired
File audio
languagestringOptional

Ngôn ngữ (ISO 639-1)

response_formatenumOptionalDefaults to json

Format output: json, text, srt, vtt

Allowed values:

Response

Thành công

textstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error