SDKs
Web SDK
Build speech-to-text workflows in browser with real-time API.
Soniox Web SDK is the official JavaScript/TypeScript SDK for using the Soniox Real-time API directly in the browser. It lets you:
- Capture audio from the user's microphone
- Stream audio to Soniox in real time
- Receive transcription and translation results instantly
Quickstart
Install
Install via your preferred package manager:
Set up your temporary API key endpoint
In client enviroment (browser, mobile app, React Native, etc.), you don't want to expose your API key to the client. For this reason, you can create a temporary API key endpoint on your server and use it to issue temporary API keys for the client.
For example, you can use our Node SDK to create a temporary API key endpoint.
Read more about our Node SDK and Temporary API keys
Create your first real-time session
Learn more about Real-time transcription