Neuphonic 1.0.0

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

<div class="docs-hero"> <h1>Neuphonic</h1> <p class="docs-hero-lead">Modern .NET SDK for Neuphonic generated from a focused manual OpenAPI definition with AutoSDK.</p> <div class="docs-badge-row"> <a href="https://www.nuget.org/packages/Neuphonic/"><img alt="Nuget package" src="https://img.shields.io/nuget/vpre/Neuphonic"></a> <a href="https://github.com/tryAGI/Neuphonic/actions/workflows/dotnet.yml"><img alt="dotnet" src="https://github.com/tryAGI/Neuphonic/actions/workflows/dotnet.yml/badge.svg?branch=main"></a> <a href="https://github.com/tryAGI/Neuphonic/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/github/license/tryAGI/Neuphonic"></a> <a href="https://discord.gg/Ca2xhfBf3v"><img alt="Discord" src="https://img.shields.io/discord/1115206893015662663?label=Discord&logo=discord&logoColor=white&color=d82679"></a> </div> <div class="docs-hero-actions"> <a href="#usage">Get started</a> <a href="#support">Get support</a> </div> </div>

<div class="docs-feature-grid"> <div class="docs-feature-card"> <h3>Generated from the source spec</h3> <p>Built from <a href="https://docs.neuphonic.com/">Neuphonic's public docs and SDKs</a> so the SDK stays close to the upstream API surface.</p> </div> <div class="docs-feature-card"> <h3>Auto-updated</h3> <p>Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.</p> </div> <div class="docs-feature-card"> <h3>Modern .NET</h3> <p>Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.</p> </div> <div class="docs-feature-card"> <h3>Docs from examples</h3> <p>Examples stay in sync between the README, MkDocs site, and integration tests through the AutoSDK docs pipeline.</p> </div> </div>

Usage

using Neuphonic;

using var client = new NeuphonicClient(apiKey);

CLI

dotnet tool install --global Neuphonic.CLI --prerelease
neuphonic api --help

List voices

List voices available to the Neuphonic account.

using var client = new NeuphonicClient(apiKey);

var response = await client.Voices.ListVoicesAsync();

Speak with SSE

Generate text-to-speech audio over Neuphonic's SSE endpoint.

using var client = new NeuphonicClient(apiKey);

var totalAudioBytes = 0;
var errors = new List<string>();

var request = new TtsRequest
{
    Text = "Hello from Neuphonic.",
    LangCode = "en",
    SamplingRate = 24000,
    Speed = 1.0,
};

await foreach (var message in client.Tts.SpeakWithSseAsync(
    langCode: "en",
    request: request,
    requestOptions: new AutoSDKRequestOptions
    {
        Timeout = TimeSpan.FromSeconds(30),
    }))
{
    if (message.Data?.Audio is { Length: > 0 } audio)
    {
        totalAudioBytes += audio.Length;
    }

    if (message.Errors is { Count: > 0 } messageErrors)
    {
        errors.AddRange(messageErrors);
    }
}

Support

<div class="docs-card-grid"> <div class="docs-card"> <h3>Bugs</h3> <p>Open an issue in <a href="https://github.com/tryAGI/Neuphonic/issues">tryAGI/Neuphonic</a>.</p> </div> <div class="docs-card"> <h3>Ideas and questions</h3> <p>Use <a href="https://github.com/tryAGI/Neuphonic/discussions">GitHub Discussions</a> for design questions and usage help.</p> </div> <div class="docs-card"> <h3>Community</h3> <p>Join the <a href="https://discord.gg/Ca2xhfBf3v">tryAGI Discord</a> for broader discussion across SDKs.</p> </div> </div>

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.

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.
  • net10.0

    • No dependencies.

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
1.0.1-dev.39 43 9/21/2026
1.0.1-dev.38 41 9/21/2026
1.0.1-dev.37 44 9/21/2026
1.0.1-dev.36 54 9/14/2026
1.0.1-dev.35 57 9/14/2026
1.0.1-dev.34 59 9/7/2026
1.0.1-dev.33 61 9/7/2026
1.0.1-dev.32 60 9/2/2026
1.0.1-dev.31 68 8/31/2026
1.0.1-dev.30 68 8/31/2026
1.0.0 175 6/23/2026
0.0.0-dev.8 84 6/16/2026
0.0.0-dev.6 77 6/15/2026
0.0.0-dev.4 75 5/21/2026
0.0.0-dev.2 70 5/5/2026
0.0.0-dev 116 5/4/2026