Cartesia 0.0.0-dev.3
This is a prerelease version of Cartesia.
dotnet add package Cartesia --version 0.0.0-dev.3
NuGet\Install-Package Cartesia -Version 0.0.0-dev.3
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="Cartesia" Version="0.0.0-dev.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cartesia" Version="0.0.0-dev.3" />
<PackageReference Include="Cartesia" />
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 Cartesia --version 0.0.0-dev.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cartesia, 0.0.0-dev.3"
#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 Cartesia@0.0.0-dev.3
#: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=Cartesia&version=0.0.0-dev.3&prerelease
#tool nuget:?package=Cartesia&version=0.0.0-dev.3&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Cartesia
Features 🔥
- Fully generated C# SDK based on official Cartesia OpenAPI specification using AutoSDK
- Same day update to support new features
- Updated and supported automatically if there are no breaking changes
- All modern .NET features - nullability, trimming, NativeAOT, etc.
- Support .Net Framework/.Net Standard 2.0
Usage
using Cartesia;
using var client = new CartesiaClient(apiKey);
Check API Status
Check the Cartesia API status.
using var client = new CartesiaClient(apiKey);
// Check the API status to verify connectivity.
var response = await client.ApiStatus.ApiStatusGetAsync(
cartesiaVersion: ApiStatusGetCartesiaVersion.x20250416);
Speech To Text Client Get Text Async
using var api = new CartesiaClient(apiKey);
ISpeechToTextClient speechClient = api;
// Transcribe audio using the MEAI ISpeechToTextClient interface.
// Cartesia processes the audio synchronously — no polling required.
using var httpClient = new HttpClient();
await using var audioStream = await httpClient.GetStreamAsync(
"https://cdn.openai.com/API/docs/audio/alloy.wav");
var ms = new MemoryStream();
await audioStream.CopyToAsync(ms);
ms.Position = 0;
var response = await speechClient.GetTextAsync(ms);
Console.WriteLine($"Text: {response.Text}");
Speech To Text Client Get Service Metadata
using var api = new CartesiaClient("dummy-key");
ISpeechToTextClient speechClient = api;
// Retrieve metadata about the speech-to-text provider.
var metadata = speechClient.GetService<SpeechToTextClientMetadata>();
Speech To Text Client Get Service Self
using var api = new CartesiaClient("dummy-key");
ISpeechToTextClient speechClient = api;
// Access the underlying CartesiaClient from the MEAI interface.
var self = speechClient.GetService<CartesiaClient>();
Support
Priority place for bugs: https://github.com/tryAGI/Cartesia/issues
Priority place for ideas and general questions: https://github.com/tryAGI/Cartesia/discussions
Discord: https://discord.gg/Ca2xhfBf3v
Acknowledgments
This project is supported by JetBrains through the Open Source Support Program.
This project is supported by CodeRabbit through the Open Source Support Program.
| 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
- Microsoft.Extensions.AI.Abstractions (>= 10.4.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.0.0-dev.3 | 0 | 3/20/2026 |
| 0.0.0-dev.2 | 0 | 3/20/2026 |
| 0.0.0-dev | 0 | 3/20/2026 |