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
<PackageReference Include="uTPro.Feature.TextToSpeech.Kokoro" Version="18.0.1" />
<PackageVersion Include="uTPro.Feature.TextToSpeech.Kokoro" Version="18.0.1" />
<PackageReference Include="uTPro.Feature.TextToSpeech.Kokoro" />
paket add uTPro.Feature.TextToSpeech.Kokoro --version 18.0.1
#r "nuget: uTPro.Feature.TextToSpeech.Kokoro, 18.0.1"
#:package uTPro.Feature.TextToSpeech.Kokoro@18.0.1
#addin nuget:?package=uTPro.Feature.TextToSpeech.Kokoro&version=18.0.1
#tool nuget:?package=uTPro.Feature.TextToSpeech.Kokoro&version=18.0.1
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.onnxand setuTPro:Feature:TextToSpeech:Kokoro:ModelPath. - With
WarmUpon (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 | 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. |
-
net10.0
- KokoroSharp (>= 0.8.4)
- uTPro.Feature.TextToSpeech (>= 18.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
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.