Soenneker.ElevenLabs.OpenApiClientUtil 11.0.293

Prefix Reserved
dotnet add package Soenneker.ElevenLabs.OpenApiClientUtil --version 11.0.293
                    
NuGet\Install-Package Soenneker.ElevenLabs.OpenApiClientUtil -Version 11.0.293
                    
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="11.0.293" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.ElevenLabs.OpenApiClientUtil" Version="11.0.293" />
                    
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 11.0.293
                    
#r "nuget: Soenneker.ElevenLabs.OpenApiClientUtil, 11.0.293"
                    
#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@11.0.293
                    
#: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=11.0.293
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.ElevenLabs.OpenApiClientUtil&version=11.0.293
                    
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 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
11.0.293 0 11/25/2026
11.0.292 0 11/24/2026
11.0.291 87 11/22/2026
11.0.290 95 11/21/2026
11.0.289 95 11/20/2026
11.0.288 96 11/19/2026
11.0.287 89 11/19/2026
11.0.286 84 11/19/2026
11.0.284 94 11/18/2026
11.0.283 92 11/18/2026
11.0.282 95 11/18/2026
11.0.281 89 11/17/2026
11.0.280 95 11/17/2026
11.0.279 84 11/16/2026
11.0.278 95 11/15/2026
11.0.277 99 11/15/2026
11.0.276 99 11/15/2026
11.0.275 103 11/14/2026
11.0.274 98 11/13/2026
11.0.273 91 11/12/2026
Loading failed

Update dependency Soenneker.ElevenLabs.OpenApiClient to 11.0.160 (#406)