Translate in real-time
Learn how to translate a live audio stream.
Learn how to translate a live audio stream
With the Soniox Speech-to-Text API, you can transcribe and translate live audio streams with high accuracy and ultra-low latency—ideal for live captions, and multilingual conversations.
Get an API key
Create a free Soniox Account and log in to the Soniox Console to generate an API key.
API keys are tied to individual projects. To create one, click API Keys under the My First Project section in the Console.
Configure your environment
Store your API key in the SONIOX_API_KEY
environment variable so your code can authenticate automatically.
Translate a live audio stream
The following example demonstrates how to transcribe and translate a live audio stream with low latency in real-time.