Aurora APIAurora API
Chat Completions FormatChatGPT APIChatGPT Audio

Create Translation (Not Supported)

POST
/v1/audio/translations

Request Body

multipart/form-data

file*string

The audio file object to translate (not the file name). Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.

model*string

The model ID to use. Currently only whisper-1 is available.

prompt?string

An optional text to guide the model's style or continue a previous audio segment. The prompt text should be in English.

response_format?string

The format of the translation result. Options: json, text, srt, verbose_json, or vtt.

temperature?number

Defaults to 0. Sampling temperature between 0 and 1. Higher values like 0.8 make output more random, lower values like 0.2 make it more focused and deterministic. If set to 0, the model will automatically raise the temperature using log probability until a certain threshold is reached.

Response Body

application/json

curl -X POST "https://loading/v1/audio/translations" \  -F file="file://C:\\Users\\Administrator\\Desktop\\test.m4a" \  -F model="gpt-4o-transcribe" \  -F prompt="" \  -F response_format="" \  -F temperature=""
{
  "text": "Hello, my name is Wolfgang and I come from Germany. Where are you heading today?"
}

How is this guide?

Last updated on