Tts voice synthesis

From anbeime/skill · View interactive version

Tts voice synthesis is an AI agent skill from the GitHub repository anbeime/skill. 影片与视频编辑、内容创作者在制作视频配音或有声书时,当需要克隆音色、生成情感化配音或流式实时语音合成请用此技能。支持1.7B高质量与0.6B快速双模型,一键实现多语言方言配音,让语音创作更高效更自然。

How to use this skill

Skill file

TTS 语音合成服务

任务目标

前置准备

操作步骤

模式一:基础语音合成

  1. 文本准备
  1. 选择音色
  1. 执行合成
  1. 验证输出

模式二:音色克隆

  1. 准备参考音频
  1. 提取音色特征
  1. 使用克隆音色

模式三:流式实时配音

  1. 文本分段
  1. 流式生成
  1. 实时合并

模式四:情感适配配音

  1. 文本情绪分析
  1. 语音参数调整
  1. 生成验证

资源索引

注意事项

使用示例

```bash

python scripts/tts_generate.py \

--text "你好,欢迎使用语音合成服务" \

--output_path ./output/hello.wav \

--model_size 1.7B \

--voice default

```

```bash

python scripts/voice_clone.py \

--reference_audio ./reference.wav \

--voice_name my_voice \

--output_dir ./voices

```

```bash

python scripts/tts_generate.py \

--text "今天真是太开心了!" \

--output_path ./output/happy.wav \

--emotion happy \

--speed 1.2 \

--pitch 1.1

```

```bash

python scripts/tts_generate.py \

--text_file ./long_text.txt \

--output_path ./output/stream_output.wav \

--streaming true

```

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.