Skip to main content
POST
Typescript

Overview

Translate audio files from any supported language to English text. Useful for international content localization and multilingual transcription. Note: OpenAI only endpoint.

Usage Examples

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required
model
string
required
prompt
string | null
response_format
string | null
temperature
number | null

Response

Successful Response

Fields: # noqa: D415.

  • language (required): str
  • duration (required): float
  • text (required): str
  • segments (optional): list[TranscriptionSegment]
language
string
required

The language of the output translation (always english).

duration
number
required

The duration of the input audio.

text
string
required

The translated text.

segments
TranscriptionSegment · object[]

Segments of the translated text and their corresponding details.

Last modified on March 10, 2026