GET
/v1/schemas/groq/audio/openai%2Fv1%2Faudio%2Ftranslations
Accept:
Request body
6 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| model* | string | enum | ID of the model to use. `whisper-large-v3` and `whisper-large-v3-turbo` are currently available. | |
| file | string | The audio file object (not file name) translate, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. | format: binary |
| url | string | The audio URL to translate/transcribe (supports Base64URL). Either file or url must be provided. When using the Batch API only url is supported. | |
| prompt | string | An 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_format | enum | The format of the transcript output, in one of these options: `json`, `text`, or `verbose_json`. | json | text | verbose_json · default: "json" |
| temperature | number | The 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 tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"groq","endpointId":"openai/v1/audio/translations","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}