Text to Speech REST
An overview of the Deepgram .NET SDK and Deepgram text-to-speech.
Installing the SDK
To begin using Deepgram’s Text-to-Speech functionality, you need to install the Deepgram .NET SDK in your existing project. You can do this using the following command:
C#
Make a Deepgram Text-to-Speech Request
C#
Audio Output Streaming
Deepgram’s TTS API allows you to start playing the audio as soon as the first byte is received. This section provides examples to help you stream the audio output efficiently.
Single Text Source Payload
C#
Chunk Text Source Payload
C#
Where To Find Additional Examples
The SDK repository has a good collection text-to-speech examples. You can find links to them in the README.