Quickstart
Quickstart guide how to setup and run Soniox Speech-to-Text (legacy).
Get API key
Create a free Soniox Account and login into Soniox Console to create an API key.
Note: API keys are bound to projects. Click on "API keys" under "My First Project" section to create one.
Download Examples
Clone our examples repository with all the code examples and test audio files. We will refer to these examples and audio files throughout our How-to guides.
Enter the directory containing examples for your programming language.
Navigate into Python examples folder.
Install Client Library
Choose any of our available client libraries to ease the integration of Soniox API into your application.
Python library requirements: Python 3.7 or higher.
Soniox Python client library is published on PyPI as soniox.
Create and activate venv
Install packages
Configure environment
Store the API key in the SONIOX_API_KEY
environment variable to prevent accidental exposure.
In your application, you can alternatively specify the API key in code when initializing
the SpeechClient
, as shown below.