Gladia 1.0.0
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Gladia --version 1.0.0
NuGet\Install-Package Gladia -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="Gladia" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Gladia" Version="1.0.0" />
<PackageReference Include="Gladia" />
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 Gladia --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Gladia, 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 Gladia@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=Gladia&version=1.0.0
#tool nuget:?package=Gladia&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Gladia
Features 🔥
- Fully generated C# SDK based on official Gladia 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 Gladia;
using var client = new GladiaClient(apiKey);
CLI
dotnet tool install --global Gladia.CLI --prerelease
gladia api --help
List Transcription Jobs
List pre-recorded transcription jobs.
using var client = new GladiaClient(apiKey);
// List recent pre-recorded transcription jobs.
var response = await client.PreRecordedV2.PreRecordedControllerGetPreRecordedJobsV2Async(
limit: 10);
Speech To Text Client Get Text Async
using var api = new GladiaClient(apiKey);
ISpeechToTextClient speechClient = api;
// Transcribe audio using the MEAI ISpeechToTextClient interface.
// The client uploads the audio stream and polls until transcription is complete.
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 GladiaClient("dummy-key");
ISpeechToTextClient speechClient = api;
// Retrieve metadata about the speech-to-text provider.
var metadata = speechClient.GetService<SpeechToTextClientMetadata>();
Pre-Recorded Solaria-3 Model
Configure a pre-recorded transcription request to use Solaria-3.
var request = new InitTranscriptionRequest
{
AudioUrl = "https://files.gladia.io/example/audio-transcription/split_infinity.wav",
Model = PreRecordedTranscriptionModel.Solaria3,
LanguageConfig = new LanguageConfig
{
Languages = [TranscriptionLanguageCodeEnum.En],
CodeSwitching = false,
},
};
// Solaria-3 is available for async pre-recorded transcription only.
// Use one supported language and keep code switching disabled.
var job = await client.PreRecordedV2.PreRecordedControllerInitPreRecordedJobV2Async(request);
Speech To Text Client Get Service Self
using var api = new GladiaClient("dummy-key");
ISpeechToTextClient speechClient = api;
// Access the underlying GladiaClient from the MEAI interface.
var self = speechClient.GetService<GladiaClient>();
Support
Priority place for bugs: https://github.com/tryAGI/Gladia/issues
Priority place for ideas and general questions: https://github.com/tryAGI/Gladia/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.7.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 |
|---|---|---|
| 1.0.1-dev.211 | 0 | 12/3/2026 |
| 1.0.1-dev.210 | 40 | 12/2/2026 |
| 1.0.1-dev.209 | 47 | 12/1/2026 |
| 1.0.1-dev.208 | 63 | 11/30/2026 |
| 1.0.1-dev.207 | 63 | 11/27/2026 |
| 1.0.1-dev.206 | 66 | 11/27/2026 |
| 1.0.1-dev.205 | 76 | 11/26/2026 |
| 1.0.1-dev.204 | 63 | 11/25/2026 |
| 1.0.1-dev.203 | 77 | 11/24/2026 |
| 1.0.1-dev.202 | 63 | 11/23/2026 |
| 1.0.1-dev.201 | 68 | 11/20/2026 |
| 1.0.1-dev.200 | 70 | 11/20/2026 |
| 1.0.1-dev.199 | 73 | 11/17/2026 |
| 1.0.1-dev.198 | 66 | 11/16/2026 |
| 1.0.1-dev.197 | 72 | 11/13/2026 |
| 1.0.1-dev.196 | 59 | 11/13/2026 |
| 1.0.1-dev.195 | 69 | 11/13/2026 |
| 1.0.1-dev.194 | 62 | 11/12/2026 |
| 1.0.1-dev.193 | 77 | 11/10/2026 |
| 1.0.0 | 1,078 | 6/23/2026 |
Loading failed