Soniox
Modern .NET SDK for Soniox generated from the provider's OpenAPI definition with AutoSDK.
Generated from the source spec
Built from Soniox's OpenAPI definition so the SDK stays close to the upstream API surface.
Auto-updated
Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.
Modern .NET
Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.
Docs from examples
Examples stay in sync between the README, MkDocs site, and integration tests through the AutoSDK docs pipeline.
Usage
1 2 3 | |
Construct a SonioxClient
Basic example showing how to create an authenticated Soniox client. The
SONIOX_API_KEY environment variable holds the API key issued by the
Soniox Console.
1 | |
List models
Fetches the list of Soniox speech-to-text models available to your workspace, including supported languages and transcription mode (async / real-time).
1 2 3 4 5 6 7 | |
Transcribe from URL (async)
Submits a Soniox async transcription job for a public audio URL and polls
until it completes. Uses the stt-async-preview model.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
MEAI ISpeechToTextClient
SonioxClient implements Microsoft.Extensions.AI.ISpeechToTextClient, so the
same call site works with Soniox, Deepgram, Gladia, or any other MEAI STT
provider.
Non-streaming calls upload the audio to /v1/files, create a transcription
job on /v1/transcriptions, and poll until the job completes. Streaming
calls open a WebSocket to wss://stt-rt.soniox.com/transcribe-websocket.
1 2 3 4 5 6 7 8 | |
MEAI AIFunction tools
Using Soniox endpoints as AIFunction tools with any Microsoft.Extensions.AI IChatClient.
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
Support
Bugs
Open an issue in tryAGI/Soniox.
Ideas and questions
Use GitHub Discussions for design questions and usage help.
Community
Join the tryAGI Discord for broader discussion across SDKs.
Acknowledgments

This project is supported by JetBrains through the Open Source Support Program.