iflytek-voiceclone-tts
仓库创建 2026年3月30日最近提交 4 小时前SkillHot 收录 20 天前
▸ 精选理由
覆盖训练到合成完整流程,便于构建个性化语音服务。
▸ 风险提示
声音复刻涉及隐私与授权,需上传样本并提供讯飞API密钥。
这个 Skill 做什么
用讯飞声音复刻服务训练并合成克隆声音的文字转语音。
把录音样本训练成可复刻的语音模型,再用该模型把文字合成成目标声音,完整覆盖训练→上传音频→提交训练→轮询结果→合成的流程。适合想要定制化、保留说话人特征的 TTS 场景。优势是实现可以只用 Python 标准库运行,不依赖额外 pip 包,部署更轻量。
▸ 展开 SKILL.md 英文原文
Use when user asks to clone a voice, train a custom voice model, or synthesize speech with a cloned voice. iFlytek Voice Clone tts(声音复刻) — train a custom voice model from audio samples and synthesize speech with the cloned voice. Supports the full workflow: get training text → create task → upload audio → submit training → poll results → synthesize with cloned voice. Pure Python stdlib, no pip dependencies.
213
Stars
25
Forks
11
仓库内 Skill
+14
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/iflytek/iFly-Skills/main/skills/iflytek-voiceclone-tts/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/iflytek/iFly-Skills/main/skills/iflytek-voiceclone-tts/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# ifly-voiceclone-tts Clone a voice from audio samples and synthesize speech with it, using iFlytek's Voice Clone (声音复刻) API. Two-phase workflow: **train** a voice model, then **synthesize** speech with it. ## Setup 1. Create an app at [讯飞控制台](https://console.xfyun.cn) with **一句话声音复刻** service enabled 2. Set environment variables: ```bash export IFLY_APP_ID="your_app_id" export IFLY_API_KEY="your_api_key" export IFLY_API_SECRET="your_api_secret" ``` ## Workflow ### Phase 1: Train a Voice Model #### Step 1 — Get training text ```bash python3 scripts/voiceclone.py train get-text ``` This returns a list of text segments with `segId`. You need to record yourself reading on
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有