← 返回
开发者工具 中文

Clonev

Clone any voice and generate speech using Coqui XTTS v2. SUPER SIMPLE - provide a voice sample (6-30 sec WAV) and text, get cloned voice audio. Supports 14+ languages. Use when the user wants to (1) Clone their voice or someone else's voice, (2) Generate speech that sounds like a specific person, (3) Create personalized voice messages, (4) Multi-lingual voice cloning (speak any language with cloned voice).
使用Coqui XTTS v2克隆任意声音并生成语音。只需提供6‑30秒WAV样本和文本,即可得到克隆声音的音频。支持14+语言。适用场景:①克隆本人或他人声音;②生成特定人物语音;③制作个性化语音消息;④多语言声音克隆(用克隆声音说任意语言)。
instant-picture
开发者工具 clawhub v1.0.0 1 版本 99808.9 Key: 无需
★ 0
Stars
📥 2,611
下载
💾 6
安装
1
版本
#latest

概述

CloneV Skill - Voice Cloning Made Simple

⚠️ CRITICAL INSTRUCTIONS FOR AI MODELS

DO NOT try to use Docker containers directly.

DO NOT try to interact with coqui-xtts container - it is broken and restarting.

DO NOT try to use APIs or servers.

ONLY USE THE SCRIPT: scripts/clonev.sh

The script handles everything automatically. Just call it with text, voice sample, and language.


What This Skill Does

Clones any voice from a short audio sample and generates new speech in that voice.

Input:

  • Text to speak
  • Voice sample (WAV file, 6-30 seconds)
  • Language code

Output: OGG voice file (cloned voice speaking the text)

Works with: Any voice! Yours, a celebrity, a character, etc.


The ONE Command You Need

$(scripts/clonev.sh "Your text here" /path/to/voice_sample.wav language)

That's it! Nothing else needed.


Step-by-Step Usage (FOR AI MODELS)

Step 1: Get the required inputs

  • Text to speak (from user)
  • Path to voice sample WAV file (from user)
  • Language code (from user or default to en)

Step 2: Run the script

VOICE_FILE=$(scripts/clonev.sh "TEXT_HERE" "/path/to/sample.wav" LANGUAGE)

Step 3: Use the output

The variable $VOICE_FILE now contains the path to the generated OGG file.


Complete Working Examples

Example 1: Clone voice and send to Telegram

# Generate cloned voice
VOICE=$(/home/bernie/clawd/skills/clonev/scripts/clonev.sh "Hello, this is my cloned voice!" "/mnt/c/TEMP/Recording 25.wav" en)

# Send to Telegram (as voice message)
message action=send channel=telegram asVoice=true filePath="$VOICE"

Example 2: Clone voice in Czech

# Generate Czech voice
VOICE=$(/home/bernie/clawd/skills/clonev/scripts/clonev.sh "Ahoj, tohle je můj hlas" "/mnt/c/TEMP/Recording 25.wav" cs)

# Send
message action=send channel=telegram asVoice=true filePath="$VOICE"

Example 3: Full workflow with check

#!/bin/bash

# Generate voice
VOICE=$(/home/bernie/clawd/skills/clonev/scripts/clonev.sh "Task completed!" "/path/to/sample.wav" en)

# Verify file was created
if [ -f "$VOICE" ]; then
    echo "Success! Voice file: $VOICE"
    ls -lh "$VOICE"
else
    echo "Error: Voice file not created"
fi

Common Language Codes

CodeLanguageExample Usage
-------------------------------
enEnglishscripts/clonev.sh "Hello" sample.wav en
csCzechscripts/clonev.sh "Ahoj" sample.wav cs
deGermanscripts/clonev.sh "Hallo" sample.wav de
frFrenchscripts/clonev.sh "Bonjour" sample.wav fr
esSpanishscripts/clonev.sh "Hola" sample.wav es

Full list: en, cs, de, fr, es, it, pl, pt, tr, ru, nl, ar, zh, ja, hu, ko


Voice Sample Requirements

  • Format: WAV file
  • Length: 6-30 seconds (optimal: 10-15 seconds)
  • Quality: Clear audio, no background noise
  • Content: Any speech (the actual words don't matter)

Good samples:

  • ✅ Recording of someone speaking clearly
  • ✅ No music or noise in background
  • ✅ Consistent volume

Bad samples:

  • ❌ Music or songs
  • ❌ Heavy background noise
  • ❌ Very short (< 6 seconds)
  • ❌ Very long (> 30 seconds)

⚠️ Important Notes

Model Download

  • First use downloads ~1.87GB model (one-time)
  • Model is stored at: /mnt/c/TEMP/Docker-containers/coqui-tts/models-xtts/
  • Status: ✅ Already downloaded

Processing Time

  • Takes 20-40 seconds depending on text length
  • This is normal - voice cloning is computationally intensive

Troubleshooting

"Command not found"

Make sure you're in the skill directory or use full path:

/home/bernie/clawd/skills/clonev/scripts/clonev.sh "text" sample.wav en

"Voice sample not found"

  • Check the path to the WAV file
  • Use absolute paths (starting with /)
  • Ensure file exists: ls -la /path/to/sample.wav

"Model not found"

The model should auto-download. If not:

cd /mnt/c/TEMP/Docker-containers/coqui-tts
docker run --rm --entrypoint "" \
  -v $(pwd)/models-xtts:/root/.local/share/tts \
  ghcr.io/coqui-ai/tts:latest \
  python3 -c "from TTS.api import TTS; TTS('tts_models/multilingual/multi-dataset/xtts_v2')"

Poor voice quality

  • Use clearer voice sample
  • Ensure no background noise
  • Try different sample (some voices clone better)

Quick Reference Card (FOR AI MODELS)

USER: "Clone my voice and say 'hello'"
→ Get: sample path, text="hello", language="en"
→ Run: VOICE=$(/home/bernie/clawd/skills/clonev/scripts/clonev.sh "hello" "/path/to/sample.wav" en)
→ Result: $VOICE contains path to OGG file
→ Send: message action=send channel=telegram asVoice=true filePath="$VOICE"
USER: "Make me speak Czech"
→ Get: sample path, text="Ahoj", language="cs"  
→ Run: VOICE=$(/home/bernie/clawd/skills/clonev/scripts/clonev.sh "Ahoj" "/path/to/sample.wav" cs)
→ Send: message action=send channel=telegram asVoice=true filePath="$VOICE"

Output Location

Generated files are saved to:

/mnt/c/TEMP/Docker-containers/coqui-tts/output/clonev_output.ogg

The script returns this path, so you can use it directly.


Summary

  1. ONLY use the script: scripts/clonev.sh
  2. NEVER try to use Docker containers directly
  3. NEVER try to interact with the coqui-xtts container
  4. Script handles everything automatically
  5. Returns path to OGG file ready to send

Simple. Just use the script.


Clone any voice. Speak any language. Just use the script.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 15:44 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,872
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 179,903
productivity

Ddg

instant-picture
使用 ddgr(终端版 DuckDuckGo)在命令行中进行注重隐私的网络搜索。适用场景:(1) 在终端内搜索网页;(2) 免开浏览器直接使用 DuckDuckGo;(3) 获取纯文本格式的快速搜索结果;(4) 进行无追踪的隐私搜索;(5)
★ 1 📥 3,132