技能标识:kokoro-agent-voices
Local zero-cost text-to-speech with per-agent voice profiles using Kokoro TTS (82M params). 54 voices available, named agent mappings, WAV output. Use when building voice-enabled agents without API costs. Requires espeak-ng and a Python environment with kokoro dependencies.
使用Kokoro TTS为每个AI智能体赋予独特的声音——这是一个轻量级82M参数的模型,可在本地运行且零API成本。提供54种声音,涵盖美式、英式及其他口音。
python
AGENT_VOICES = {
loki: am_fenrir, # 深沉、权威
archie: bm_george, # 英式分析型
sara: af_bella, # 温暖、创意型
kit: am_echo, # 清晰、技术型
liv: af_nova, # 明亮、活力型
belle: bf_emma, # 优雅、深思型
}
bash
python3 scripts/speak.py --agent loki 系统检查完成
python3 scripts/speak.py --voice af_bella 你好世界 --output /tmp/greeting.wav
python3 scripts/speak.py --list-voices # 显示全部54种声音
python3 scripts/speak.py --list-agents # 显示已配置的智能体配置
需要安装包含kokoro、soundfile和espeak-ng的Python环境。模型在首次使用时将从Hugging Face自动下载(约350MB)。
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 kokoro-agent-voices-1776284876 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 kokoro-agent-voices-1776284876 技能
skillhub install kokoro-agent-voices-1776284876
文件大小: 3.67 KB | 发布时间: 2026-4-16 16:48