mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-08-25 16:25:34 +00:00
Bring the useful community enhancements into the built-in plugin with a current American voice catalog, speed controls, and in-memory weighted blending while preserving existing voice and speed configuration. Reuse the singleton Kokoro pipeline, validate blend inputs, show resolved ratios in status views, and cover the native flow with focused regression tests. Co-authored-by: twilso24 <122656888+twilso24@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| api | ||
| extensions/webui | ||
| helpers | ||
| webui | ||
| AGENTS.md | ||
| default_config.yaml | ||
| hooks.py | ||
| plugin.yaml | ||
| README.md | ||
Kokoro TTS
Built-in speech synthesis plugin backed by Kokoro.
Behavior
- Registers Kokoro as the active TTS provider when the plugin is enabled.
- Supports single voices, comma-separated equal blends, and optional in-memory weighted blends.
- Keeps browser-native
speechSynthesisas the fallback path when disabled. - Keeps Python dependencies on the core Docker/bootstrap path. This plugin does not install packages or binaries on demand.
- Uses Kokoro's existing voice-pack cache and does not create persistent blend files.
Config
voice: Kokoro voice identifier or comma-separated equal blendvoice_weights: optional mapping of voice identifiers to positive weights; when present, it defines the active blendspeed: Kokoro playback speed multiplier
Routes
POST /api/plugins/_kokoro_tts/synthesizePOST /api/plugins/_kokoro_tts/status