Recorded Translation

File-level translation for recorded audio.

File-level translation for offline transcription.

translate_to is not currently accepted by the offline transcription endpoint. Sending it in the request body has no effect.

Usage

Specify translate_to when submitting a transcription job:

curl -X POST https://audio.lansonai.com/v1/audio/transcriptions \
  -H "Authorization: Bearer sk-..." \
  -H "Content-Type: application/json" \
  -d '{
    "audio_url": "https://cdn.example.com/audio.wav",
    "language": "zh",
    "translate_to": "en"
  }'
ParameterDescription
languageSource language of the audio
translate_toTarget language for translation

Omit translate_to to get transcription only, without translation.

Source and translation correspondence

Translation results correspond to source segments. Each segment's translation follows the source text.

Latency

Translation adds processing time. Plan for additional latency beyond raw transcription when translation is enabled.