Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.together.ai/llms.txt

Use this file to discover all available pages before exploring further.

Audio translation converts speech from any language to English text:
from pathlib import Path

response = client.audio.translations.create(
    file=Path("french_audio.mp3"),
    model="openai/whisper-large-v3",
)
print(f"English translation: {response.text}")

Translation with context

from pathlib import Path

response = client.audio.translations.create(
    file=Path("business_meeting_spanish.mp3"),
    model="openai/whisper-large-v3",
    prompt="This is a business meeting discussing quarterly sales results.",
)

Limits and errors

/v1/audio/translations shares the same code path as transcription: the 500 MB direct-upload cap, 1 GB URL-fetch cap, and 4-hour duration cap all apply, and the same error codes are returned. See Limits and Errors and troubleshooting.