HPD-Agent.Providers.Audio.ElevenLabs 0.9.6

dotnet add package HPD-Agent.Providers.Audio.ElevenLabs --version 0.9.6
                    
NuGet\Install-Package HPD-Agent.Providers.Audio.ElevenLabs -Version 0.9.6
                    
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="HPD-Agent.Providers.Audio.ElevenLabs" Version="0.9.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HPD-Agent.Providers.Audio.ElevenLabs" Version="0.9.6" />
                    
Directory.Packages.props
<PackageReference Include="HPD-Agent.Providers.Audio.ElevenLabs" />
                    
Project file
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 HPD-Agent.Providers.Audio.ElevenLabs --version 0.9.6
                    
#r "nuget: HPD-Agent.Providers.Audio.ElevenLabs, 0.9.6"
                    
#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 HPD-Agent.Providers.Audio.ElevenLabs@0.9.6
                    
#: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=HPD-Agent.Providers.Audio.ElevenLabs&version=0.9.6
                    
Install as a Cake Addin
#tool nuget:?package=HPD-Agent.Providers.Audio.ElevenLabs&version=0.9.6
                    
Install as a Cake Tool

HPD-Agent.Providers.Audio.ElevenLabs

ElevenLabs speech-to-text and text-to-speech adapters for HPD-Agent.Audio.

Install

dotnet add package HPD-Agent.Audio
dotnet add package HPD-Agent.Providers.Audio.ElevenLabs

Authentication

The default secret alias is ELEVENLABS_API_KEY. The builder extensions also accept a ReadOnlySpan<char> for runtime-only literal keys.

Speech-to-text

using HPD.Agent;
using HPD.Agent.Audio;
using HPD.Agent.Providers.Audio.ElevenLabs;

var agent = await AgentBuilder.Create()
    .WithChatClient(chatClient)
    .WithContentStore(contentStore)
    .WithElevenLabsSpeechToText(
        model: "scribe_v1",
        language: "en")
    .WithAudio(audio =>
    {
        audio.InputMode = AudioInputMode.BatchSpeechToText;
        audio.OutputMode = AudioOutputMode.TextOnly;
    })
    .BuildAsync();

The default batch model is scribe_v1. scribe_v2 and scribe_v2_realtime are also advertised. Use ElevenLabsSttOptions for realtime model, audio format, commit strategy, timestamps, and language detection settings.

Text-to-speech

.WithElevenLabsTextToSpeech(
    model: "eleven_turbo_v2_5",
    voice: voiceId,
    outputFormat: "mp3_44100_128")
.WithAudio(audio =>
{
    audio.OutputMode = AudioOutputMode.TextToSpeech;
    audio.AssistantOutputMode = AssistantOutputSynthesisMode.FinalText;
})

The default model is eleven_turbo_v2_5. Other supported model IDs include eleven_multilingual_v2 and eleven_flash_v2_5. The voice ID comes from the ElevenLabs account and must be supplied explicitly unless configured in an agent profile.

The adapter supports completed-text synthesis. Progressive output is managed by HPD and may segment completed model text; provider capability metadata remains the source of truth for transport-specific behavior.

Product 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.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.9.6 0 11/16/2026
0.9.5 72 11/10/2026
0.9.2 94 11/2/2026
0.9.1 119 10/21/2026
0.9.0 104 10/20/2026
0.8.1 176 8/6/2026
0.8.0 123 8/5/2026
0.7.0 133 7/19/2026
0.6.0 150 7/4/2026
0.5.5 134 6/21/2026
0.5.0 138 6/11/2026