Audio translation converts speech from any language to English text: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.
Translate speech in any language into English text.
Audio translation converts speech from any language to English text: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.
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}")
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.",
)
Was this page helpful?