Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

voice-clone-bot语音克隆机器人

Agent Skill

用于辅助音频、音乐、语音转写、语音合成或声音素材处理。它适合让 Agent 生成配乐说明、整理音频流程、调用语音工具或处理播客和视频配音素材。使用时需要确认输入音频来源、输出格式、时长和模型限制;涉及人声克隆、版权音乐或公开发布时,应先核对授权和合规边界。

总安装

3,461

周安装

140

GitHub Stars

公开资料未说明

下载量

1,086
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:voice-clone-bot(语音克隆机器人)
来源仓库:https://github.com/conanwhf/voice-clone-bot
安装命令:
openclaw skills install voice-clone-bot
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install voice-clone-bot

简介

利用参考音频样本克隆用户专属语音特征模型。voice-clone-bot 属于开发类 Skill,可作为该场景下的辅助能力补充。

  • 合成语音后可朗读任意输入文本内容形成对话机器人。
  • 适合个性化语音助手和教育类应用程序开发需求。
  • 采样过程需保持环境安静以获得高质量声纹特征提取。
  • 克隆模型文件较大建议本地存储避免频繁网络传输开销。

SKILL.md

name
voice-clone-bot
description
Synthesize speech by cloning a user's voice from a reference audio sample, then reading generated text aloud in that cloned voice. Use this skill whenever the user sends a voice message and expects an audio reply, asks to "speak", "clone my voice", "read this aloud", "reply with audio", or any context where a spoken voice response is appropriate. Also use when the user wants to switch into "voice mode" for conversation. Even if the user doesn't explicitly say "voice clone", use this skill if they send audio input and the natural response would be spoken.

Voice Clone Skill

A self-initializing, zero-configuration voice cloning skill. It manages a background TTS daemon that keeps heavy model weights in memory for fast inference. Supports multiple engines and unlimited text length.

Quick reference

ItemValue
Entry scriptbash scripts/run_tts.sh --text "..." --ref_audio "..." [--speed 1.0] [--output_dir "..."]
OutputSingle line: absolute path to generated .ogg file
Attachment formatMEDIA:<output_path>
Default engineF5-TTS (env TTS_BACKEND=f5)
Host/Port config.env (TTS_SERVER_HOST, TTS_SERVER_PORT)

When to use this skill

  • The user sends a voice memo or audio file and you need to reply with audio.
  • The user says "read this aloud", "speak to me", "use my voice", "voice mode".
  • The conversation context implies a spoken reply is expected.
  • The user provides a reference audio and asks you to mimic their voice.

Step-by-step usage

1. Identify inputs

You need two things:

  • ref_audio: The absolute local path to the user's reference audio file (the voice to clone). This is typically the audio file the user just sent, saved by the ASR system (e.g., openai-whisper).
  • text: The text content you want to speak. Generate this as you normally would — think of your reply, then voice it.

2. Run the synthesis

Execute this command:

bash scripts/run_tts.sh --text "Your reply text here." --ref_audio "/absolute/path/to/reference.ogg"

Optional parameters:

  • --speed 1.2 — Speak faster. Range: 0.5 to 2.0. Default: 1.0.
  • --output_dir "/tmp/" — Save the generated audio file to a specific absolute folder path. Default: server/generated_audio/.

Example with all options:

bash scripts/run_tts.sh \
  --text "很高兴认识你,这是我克隆后的声音。" \
  --ref_audio "/tmp/user_voice_msg.ogg" \
  --speed 0.9

3. Handle the output

The script prints a single absolute path on stdout (e.g., /path/to/reply_a1b2c3d4.ogg). Append it to your response using the attachment format:

MEDIA:/path/to/reply_a1b2c3d4.ogg

4. Important constraints

  • Do NOT manually start python app.py or manage the backend. The run_tts.sh script auto-detects, auto-installs, and auto-starts everything.
  • First run is slow (~30-60 seconds) because it downloads model weights and loads them into memory. Subsequent calls are fast.
  • Long texts work automatically. The engine splits text into sentences, synthesizes each chunk, and stitches them seamlessly. No length limit.

Controlling voice characteristics

Speed (all engines)

The --speed parameter adjusts speaking rate:

ValueEffect
0.7Slow, deliberate, suitable for elderly listeners
1.0Natural conversational speed (default)
1.3Brisk, suitable for news or briefings
1.5+Fast, compressed delivery

F5-TTS supports speed natively. Other engines use ffmpeg post-processing (atempo filter), which gives good results but may slightly affect quality at extreme values.

Emotion and tone

These models use acoustic feature extraction from the reference audio — they do not accept text-based emotion tags like [happy] or [sad].

The emotion of the output is determined entirely by the reference audio.

To control emotion, select or prepare reference audio that carries the desired tone:

Desired toneReference audio strategy
Calm, neutralUse a reference clip where the speaker talks normally
Excited, happyUse a reference clip where the speaker sounds enthusiastic
Angry, intenseUse a reference clip with raised voice and sharp intonation
Sad, melancholicUse a reference clip with slow, downcast delivery
WhisperingUse a reference clip where the speaker whispers

Practical approach for Agents: If the user has sent multiple voice messages, choose the one whose emotional tone best matches the context of your reply. If only one reference is available, use it as-is — the model will approximate the speaker's general style.

ChatTTS Specifics: This engine supports inline emotion tags in text: [laugh], [uv_break] (pause). It also supports voice cloning when a reference audio is provided.

Available engines

EngineIDInstallSizeCloneSpeed supportBest for
F5-TTSf5bash scripts/auto_installer.sh~1.5GBNativeHighest quality cloning
CosyVoicecosyvoicebash scripts/install_cosyvoice.sh~1.5GBffmpegNatural Chinese prosody
ChatTTSchatttsbash scripts/install_chattts.sh~400MBffmpegDialogue with emotion tags
OpenVoiceopenvoicebash scripts/install_openvoice.sh~300MBffmpegUltra fast, tiny footprint

Switch engines by setting the environment variable before the server starts:

export TTS_BACKEND=cosyvoice

Uninstalling

# Remove everything (venv, daemon, registration)
bash scripts/uninstall.sh

# Remove only one engine's source code
bash scripts/uninstall.sh --engine cosyvoice

# Remove everything INCLUDING downloaded model weights (several GB)
bash scripts/uninstall.sh --purge

File structure

scripts/
├── run_tts.sh              # Main entry point (auto-heals, auto-starts daemon)
├── tts_client.py            # HTTP client that talks to the backend
├── auto_installer.sh        # Install F5-TTS (default) + register skill
├── install_cosyvoice.sh     # Install CosyVoice engine
├── install_chattts.sh       # Install ChatTTS engine
├── install_openvoice.sh     # Install OpenVoice engine
└── uninstall.sh             # Cleanup script
server/
├── app.py                   # FastAPI daemon (auto-managed, do not start manually)
├── core_tts.py              # Multi-engine factory + long text chunking
└── requirements.txt         # Base dependencies

References

  • Read references/architecture.md for system architecture and design rationale.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

86.78%
按下载量换算942

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills