Audio Announcements

Processes and translates in-flight audio announcements into the passenger’s chosen language.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

This endpoint processes and translates in-flight audio announcements into the passenger’s chosen language. and delivers the translated audio for in-flight playback or display.


Endpoint

POST /translations/audio



Extra notes:

  • /n or /N present in the subtitles text means next line and should be rendered as such.
Path Params
string
required
Defaults to dl

The airline’s IATA code (e.g., "dl" for Delta Airlines).

Body Params
file
required

The audio file of the announcement in .mp3 format. Must be captured from the PA system.

string
required
Defaults to es

The ISO 639-1 code of the target language for the translation, specified as a language name or code (e.g., "Spanish", "French", "en-US"). Refer to the Supported Languages section for the full list of available languages.

string
required
Defaults to Anna

Voice selection for the translated audio playback (e.g., "Anna"). If not specified, the API selects a default voice appropriate for the target language. Refer to the supported voices section for a list of available voice profiles.

boolean
required
Defaults to true

Determines whether closed captions should be generated ("true" or "false").

string
required
Defaults to text

Format of closed captions output (e.g., "text" or "srt").

boolean
required
Defaults to false

This parameter allows you to specify whether content moderation should be applied to the input text. Set this parameter to true if you want the system to check for potentially harmful content before processing your request. If set to false, the system will skip moderation and process the request directly without any checks.

boolean
required
Defaults to false

This parameter determines how the system responds if the input text is identified as harmful. When set to true, if the text is flagged during moderation, your request will be rejected, and you will receive an error message indicating that the content violates the guidelines. If set to false, the request will still proceed even if the text is flagged, and the moderation details will be included in the response for your information.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json