Translations
Turn audio into text or text into audio.
Create translation
client.audio.translations.create(TranslationCreateParams { file, model, prompt, 2 more } body, RequestOptionsoptions?): TranslationCreateResponse
POST/audio/translations
Turn audio into text or text into audio.
Segments of the translated text and their corresponding details.
Average logprob of the segment. If the value is lower than -1, consider the logprobs failed.
Compression ratio of the segment. If the value is greater than 2.4, consider the compression failed.