← 返回
效率工具 中文

speaker-local

Text-to-speech using Kokoro local TTS. Use when the user wants to convert text to audio, read aloud, or generate speech.
使用Kokoro本地TTS将文字转换为语音。用于用户想要将文本转为音频、朗读或生成语音的场景。
babysor
效率工具 clawhub v1.0.0 1 版本 99866.3 Key: 无需
★ 0
Stars
📥 747
下载
💾 5
安装
1
版本
#latest

概述

speak

Convert text to speech locally with Kokoro TTS.

Quick start

# Text string → audio file
kokoro-tts <(echo "Hello world") hello.wav --voice af_sarah

# Text file → audio
kokoro-tts article.txt out.wav --voice af_heart

# Chinese
kokoro-tts story.txt out.wav --voice zf_xiaoni --lang cmn

# EPUB / PDF → chapter audio files
kokoro-tts book.epub --split-output ./chapters/ --format mp3 --voice bf_emma

# Voice blending (60-40 mix)
kokoro-tts input.txt out.wav --voice "af_sarah:60,am_adam:40"

# Adjust speed
kokoro-tts input.txt out.wav --voice am_adam --speed 1.2

# Stream playback (no file saved)
kokoro-tts input.txt --stream --voice af_nova

Install

uv tool install kokoro-tts

Model files (kokoro-v1.0.onnx, voices-v1.0.bin) must be in the working directory. Download once:

wget https://github.com/nazdridoy/kokoro-tts/releases/download/v1.0.0/kokoro-v1.0.onnx
wget https://github.com/nazdridoy/kokoro-tts/releases/download/v1.0.0/voices-v1.0.bin

Voices at a glance

RegionFemaleMale
----------------------
🇺🇸 en-usaf_alloy af_heart af_sarah af_nova ...am_adam am_echo am_michael ...
🇬🇧 en-gbbf_alice bf_emma bf_lily ...bm_daniel bm_george ...
🇨🇳 cmnzf_xiaoni zf_xiaoxiao zf_xiaoyi ...zm_yunxi zm_yunyang ...
🇯🇵 jajf_alpha jf_nezumi ...jm_kumo
🇫🇷 fr-frff_siwis
🇮🇹 itif_saraim_nicola

For full voice list, options, and input format details, see reference.md.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 04:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Video Translation

babysor
将视频翻译并配音,使用 TTS 替换原声,保持视频画面不变。
★ 0 📥 227
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 446 📥 226,391
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,906