Skip to content

narakeet/text-to-speech-api-csharp-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Narakeet Text to Speech Streaming API example in C#

This repository provides a quick example demonstrating how to access the Narakeet streaming Text to Speech API from C# (.NET Core).

The example sends a request to generate audio from text and saves it to result.m4a in the local directory.

Prerequisites

This example works with .NET Core 6.0. You can run it inside Docker (then it does not require a local .NET Core installation), or on a system with a .NET Core 6.0 compatible installation.

Running the example

Without Docker (replace $API_KEY with your api key):

dotnet publish -c Release
dotnet run --project NarakeetExample $API_KEY

On a system with Docker and GNU Makefile (replace $API_KEY with your api key):

make init
make execute API_KEY=$API_KEY

More information

Check out https://www.narakeet.com/docs/automating/text-to-speech-api/ for more information on the Narakeet Text to Speech API

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published