Skip to main content

Body_audio_translations_v1_audio_translations_post

fileFile (string)required

Audio file to translate to English.

modelModel (string)required

Mounted translation-capable speech model id.

language object

Optional model-specific source language code.

anyOf
string
prompt object

Optional translation prompt or context.

anyOf
string
response_formatResponse Format (string)

Translation response format.

Possible values: [json, text, verbose_json, srt, vtt, ndjson]

Default value: json
temperature object

Optional model-specific sampling temperature.

anyOf
number
Body_audio_translations_v1_audio_translations_post
{
"file": "string",
"model": "string",
"language": "string",
"prompt": "string",
"response_format": "json",
"temperature": 0
}