GET

/v1/schemas/openai/audio/audio%2Ftranslations

kind inputactivity audiohash 37e54aa7extracted Jul 6, 2026version currentsource upstream spec ↗

Request body

5 properties · 2 required · 0 $defs
propertytypedescriptionconstraints
file*stringThe audio file object (not file name) translate, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.format: binary
model*string | enumID of the model to use. Only `whisper-1` (which is powered by our open source Whisper V2 model) is currently available.
promptstringAn optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text#prompting) should be in English.
response_formatenumThe format of the output, in one of these options: `json`, `text`, `srt`, `verbose_json`, or `vtt`.json | text | srt | verbose_json | vtt · default: "json"
temperaturenumberThe sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_pro…default: 0

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"openai","endpointId":"audio/translations","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}