uTPro.Feature.TextToSpeech.Kokoro 18.0.1

dotnet add package uTPro.Feature.TextToSpeech.Kokoro --version 18.0.1
                    
NuGet\Install-Package uTPro.Feature.TextToSpeech.Kokoro -Version 18.0.1
                    
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="uTPro.Feature.TextToSpeech.Kokoro" Version="18.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="uTPro.Feature.TextToSpeech.Kokoro" Version="18.0.1" />
                    
Directory.Packages.props
<PackageReference Include="uTPro.Feature.TextToSpeech.Kokoro" />
                    
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 uTPro.Feature.TextToSpeech.Kokoro --version 18.0.1
                    
#r "nuget: uTPro.Feature.TextToSpeech.Kokoro, 18.0.1"
                    
#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 uTPro.Feature.TextToSpeech.Kokoro@18.0.1
                    
#: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=uTPro.Feature.TextToSpeech.Kokoro&version=18.0.1
                    
Install as a Cake Addin
#tool nuget:?package=uTPro.Feature.TextToSpeech.Kokoro&version=18.0.1
                    
Install as a Cake Tool

uTPro.Feature.TextToSpeech.Kokoro

Documentation: https://docs.utpro.dev/uTPro.Feature.TextToSpeech/offline-voices/

Offline Kokoro voices for uTPro.Feature.TextToSpeech, running in-process on the CPU through KokoroSharp. The most natural free English voices, plus Spanish, French, Hindi, Italian, Japanese, Chinese and Brazilian Portuguese. No API key and no outbound traffic once the model is in place.

dotnet add package uTPro.Feature.TextToSpeech.Kokoro

The add-on registers itself; no Program.cs changes. Then map a culture (for example en) to Kokoro / af_heart in Settings → Advanced Settings → Text To Speech → Voices.

  • The model (about 300 MB) downloads on first use. On servers without internet access, download kokoro.onnx and set uTPro:Feature:TextToSpeech:Kokoro:ModelPath.
  • With WarmUp on (default) the model loads 30 seconds after start-up, but only when a Kokoro voice is mapped.
  • Budget about 1 GB of RAM while synthesizing. Kokoro runs at about 1.3 - 2x real time on a CPU; audio is generated in the background and cached, so visitors do not wait for it.
  • Uses the cross-platform CPU build (Windows, Linux, macOS).

See LICENSE.txt. Kokoro and KokoroSharp are distributed under their own licenses.

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
18.0.1 97 11/9/2026
18.0.0 80 11/7/2026
17.0.1 78 11/9/2026
17.0.0 87 11/7/2026

v17.0.1 / v18.0.1: Package title cleanup - the NuGet package title no longer carries the "for Umbraco N" suffix (the add-on keeps its descriptive name). No functional changes. v17.0.0 / v18.0.0: Initial release, shipped as two version lines — 17.x for Umbraco 17 and 18.x for Umbraco 18 — in lockstep with the core TextToSpeech package lines. Kokoro engine for uTPro.Feature.TextToSpeech on KokoroSharp (CPU build): lazy single model instance, background warm-up, speed control.