Create Translation
Translate audio into English.
Translates audio files in any supported language to English text using OpenAI's Whisper model. Supports the same audio formats as transcription. Maximum file size is 25 MB.
Args: file: Audio file to translate (required) model: Model ID to use (e.g., "openai/whisper-1") prompt: Optional text to guide the model's style response_format: Format of the output (json, text, srt, verbose_json, vtt) temperature: Sampling temperature between 0 and 1
Returns: Translation object with the English translation
Response
Successful Response
Changes
Changed in 2 of the 39 revisions of this API.232
- ▲
the response's body type changed from
objectto no type for statusresponse-body-type-changed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ○
added to the response body
anyOflist for the response statusresponse-body-any-of-added
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○