Translations
Turn audio into text or text into audio.
Create translation
client.Audio.Translations.New(ctx, body) (*Translation, error)
POST/audio/translations
ModelsExpand Collapse
type TranslationVerbose struct{…}
type TranslationVerbose struct{…}
Segments of the translated text and their corresponding details.
Segments of the translated text and their corresponding details.
AvgLogprob float64
Average logprob of the segment. If the value is lower than -1, consider the logprobs failed.
formatfloat
CompressionRatio float64
Compression ratio of the segment. If the value is greater than 2.4, consider the compression failed.
formatfloat