بنقرة واحدة
kokoro-tts
High-quality local text-to-speech using Kokoro TTS engine. Zero API cost, fully offline.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
High-quality local text-to-speech using Kokoro TTS engine. Zero API cost, fully offline.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Analyze and process Excel/CSV files using pandas and openpyxl. Supports data summary, filtering, pivot tables, and chart generation.
Playwright browser automation — navigate, read, and interact with web pages using text snapshots and ref-based targeting. Supports keyboard, dialogs, file upload, JS evaluation, console/network debugging, and PDF export. Login state persists across sessions. Use when user wants to open a URL, fill a web form, scrape page content, or operate any website that requires clicking/typing.
Local web search (Tavily/Exa, requires API Key). For quick searches. If no Key configured or deep research needed, use cloud_agent instead.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks Moltbot to add a note, list notes, search notes, or manage note folders.
Search and manage Apple Photos library on macOS via osascript.
| name | kokoro-tts |
| description | High-quality local text-to-speech using Kokoro TTS engine. Zero API cost, fully offline. |
| metadata | {"xiaodazi":{"dependency_level":"external","os":["common"],"backend_type":"local","user_facing":true}} |
| capabilities | ["tts","speech_synthesis"] |
使用 Kokoro TTS 引擎在本地生成高质量语音,零 API 成本,完全离线。
pip install kokoro-onnx soundfile
首次使用需下载模型文件(约 300MB)。
from kokoro_onnx import Kokoro
kokoro = Kokoro("kokoro-v1.0.onnx", "voices-v1.0.bin")
samples, sample_rate = kokoro.create(
"你好,这是一段测试语音。",
voice="af_heart",
speed=1.0,
lang="z", # z=中文, e=英文
)
import soundfile as sf
sf.write("output.wav", samples, sample_rate)
| Voice ID | 性别 | 语言 | 风格 |
|---|---|---|---|
af_heart | 女 | 中/英 | 温暖自然 |
af_bella | 女 | 中/英 | 清晰专业 |
am_adam | 男 | 中/英 | 沉稳 |
am_michael | 男 | 中/英 | 活力 |
长文本自动按句分段合成,避免内存溢出:
import re
sentences = re.split(r'[。!?\.\!\?]', long_text)
all_samples = []
for s in sentences:
if s.strip():
samples, sr = kokoro.create(s.strip() + "。", voice="af_heart", lang="z")
all_samples.append(samples)
import numpy as np
combined = np.concatenate(all_samples)
sf.write("output.wav", combined, sr)