TextToVoice.Engines.ElevenLabs
0.3.0
dotnet add package TextToVoice.Engines.ElevenLabs --version 0.3.0
NuGet\Install-Package TextToVoice.Engines.ElevenLabs -Version 0.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TextToVoice.Engines.ElevenLabs" Version="0.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TextToVoice.Engines.ElevenLabs" Version="0.3.0" />
<PackageReference Include="TextToVoice.Engines.ElevenLabs" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TextToVoice.Engines.ElevenLabs --version 0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TextToVoice.Engines.ElevenLabs, 0.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TextToVoice.Engines.ElevenLabs@0.3.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TextToVoice.Engines.ElevenLabs&version=0.3.0
#tool nuget:?package=TextToVoice.Engines.ElevenLabs&version=0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TextToVoice.Engines.ElevenLabs
High-quality cloud-based TTS engine using the ElevenLabs REST API. No external NuGet dependencies.
Installation
dotnet add package TextToVoice.Engines.ElevenLabs
Requires an API key from elevenlabs.io. Free tier: 10,000 characters/month.
Quick Start
using TextToVoice.Engines.ElevenLabs;
var options = new ElevenLabsOptions
{
ApiKey = "sk_your_key_here",
};
await using var engine = new ElevenLabsEngine(options);
await engine.SpeakAsync("Hello world");
await engine.SaveToFileAsync("Hello world", "output.wav");
// List available voices (calls the API)
var voices = await engine.GetAvailableVoicesAsync();
engine.SetVoice("EXAVITQu4vr4xnSDxMaL"); // voice ID from the list
Configuration
var options = new ElevenLabsOptions
{
ApiKey = "sk_...", // required
VoiceId = "21m00Tcm4TlvDq8ikWAM", // default: Rachel
ModelId = "eleven_multilingual_v2", // default model
OutputFormat = "mp3_44100_128", // or "pcm_44100" (Pro tier)
Stability = 0.5f, // 0.0-1.0
SimilarityBoost = 0.75f, // 0.0-1.0
Speed = 1.0f, // 0.7-1.2
LeadingSilenceMs = 150, // silence before playback
};
Pricing
| Plan | Characters/month | Price |
|---|---|---|
| Free | 10,000 | $0 |
| Starter | 30,000 | $5/month |
| Creator | 100,000 | $22/month |
See elevenlabs.io/pricing for current pricing.
Requirements
- .NET 10+
- ElevenLabs API key
License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- TextToVoice.Core (>= 0.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.3.0 | 120 | 10/24/2026 |
| 0.1.0 | 211 | 3/13/2026 |
| 0.1.0-alpha.0.19 | 91 | 5/14/2026 |
| 0.1.0-alpha.0.18 | 98 | 5/10/2026 |
| 0.1.0-alpha.0.17 | 86 | 5/10/2026 |
| 0.1.0-alpha.0.16 | 98 | 3/14/2026 |