Soenneker.ElevenLabs.OpenApiClientUtil 4.0.183

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.ElevenLabs.OpenApiClientUtil --version 4.0.183
                    
NuGet\Install-Package Soenneker.ElevenLabs.OpenApiClientUtil -Version 4.0.183
                    
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="Soenneker.ElevenLabs.OpenApiClientUtil" Version="4.0.183" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.ElevenLabs.OpenApiClientUtil" Version="4.0.183" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.ElevenLabs.OpenApiClientUtil" />
                    
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 Soenneker.ElevenLabs.OpenApiClientUtil --version 4.0.183
                    
#r "nuget: Soenneker.ElevenLabs.OpenApiClientUtil, 4.0.183"
                    
#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 Soenneker.ElevenLabs.OpenApiClientUtil@4.0.183
                    
#: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=Soenneker.ElevenLabs.OpenApiClientUtil&version=4.0.183
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.ElevenLabs.OpenApiClientUtil&version=4.0.183
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.ElevenLabs.OpenApiClientUtil

Provides lazy, cached access to the generated ElevenLabs API client.

Installation

dotnet add package Soenneker.ElevenLabs.OpenApiClientUtil

Configure and register

{
  "ElevenLabs": {
    "ApiKey": "your-api-key"
  }
}
using Soenneker.ElevenLabs.OpenApiClientUtil.Registrars;

services.AddElevenLabsOpenApiClientUtilAsScoped();

Use the client

using Soenneker.ElevenLabs.OpenApiClientUtil.Abstract;

public sealed class VoiceReader(IElevenLabsOpenApiClientUtil clients)
{
    public async Task Read(CancellationToken cancellationToken)
    {
        var client = await clients.Get(cancellationToken);
        var response = await client.V1.Voices.GetAsync(
            cancellationToken: cancellationToken);
    }
}

The first call to Get() creates the generated client; later calls on the same utility instance return it from the cache. The HTTP provider applies the xi-api-key header, so the generated client does not add a second authentication header.

Use AddElevenLabsOpenApiClientUtilAsSingleton() when the application should share one generated client. A scoped utility borrows the singleton HTTP provider; disposing the scope releases the utility without destroying the shared transport.

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. 
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
4.0.213 35 9/26/2026
4.0.212 44 9/26/2026
4.0.211 36 9/25/2026
4.0.209 43 9/24/2026
4.0.208 93 9/17/2026
4.0.207 83 9/16/2026
4.0.205 91 9/16/2026
4.0.204 91 9/16/2026
4.0.203 91 9/16/2026
4.0.202 83 9/15/2026
4.0.201 89 9/13/2026
4.0.200 95 9/13/2026
4.0.199 88 9/13/2026
4.0.198 92 9/13/2026
4.0.196 88 9/12/2026
4.0.195 98 9/12/2026
4.0.194 99 9/10/2026
4.0.193 95 9/9/2026
4.0.192 95 9/9/2026
4.0.183 112 9/4/2026
Loading failed