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

voiceclonevoiceclone 文档

Agent Skill

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

总安装

10,284

周安装

416

GitHub Stars

1

下载量

3,228
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install voiceclone

简介

利用 MiniMax API 实现语音克隆与合成。

  • 用户须提供语音名称并在成功后更新 voice_id 映射。
  • 可用于个性化语音定制和多角色区分。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 涉及他人声音复制时务必取得合法授权。
  • voiceclone 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
voice-clone-tts
description
Voice cloning and TTS using MiniMax API. User must provide a voice name when cloning; after success, voice_name->voice_id is written back to this skill doc for reuse.
install
instruction-only; Python script requires Python 3.7+ and dependencies in requirements.txt (see Install section).
requiredEnv
optionalEnv
envNote
At least one of MINIMAX_API_KEY, MINIMAX_KEY, or MINIMAX_GROUP_API_KEY must be set for API auth.

Voice Clone + TTS

Scope

This skill is narrowly scoped to: (1) uploading clone audio to MiniMax, (2) creating a cloned voice, (3) TTS with cloned or existing voices, and (4) updating the cloned-voice mapping block in this SKILL.md. The script only reads/writes this skill’s SKILL.md; it does not read unrelated system files or other environment variables beyond the MiniMax API key(s) above.

When to Use

  • Use this skill when you need to clone user-provided audio into a reusable voice.
  • Use this skill when you need text-to-speech (TTS) with an already cloned voice.
  • For long-term maintenance, cloned results are written back to this file to reduce repeated setup.

API Reference (MiniMax)

  • Upload clone audio: POST /v1/files/upload, purpose=voice_clone, multipart/form-data.
  • Create cloned voice: POST /v1/voice_clone.
  • Speech synthesis: POST /v1/t2a_v2.
  • Audio requirements: mp3/m4a/wav, duration 10 seconds–5 minutes, file size <=20MB.

Install

  • Runtime: Python 3.7+.
  • Dependencies: The script uses the requests library. Install with:
  pip install -r requirements.txt

or pip install requests.

  • Network: The script calls MiniMax APIs over HTTPS; it does not read unrelated system files. It only reads/writes this skill’s SKILL.md to update the cloned-voice mapping block.

Required environment variables (credentials)

At least one of the following must be set for MiniMax API authentication (see frontmatter requiredEnv / optionalEnv):

VariableRequiredNotes
MINIMAX_API_KEYpreferredPrimary API key
MINIMAX_KEYalternativeAccepted if set
MINIMAX_GROUP_API_KEYalternativeAccepted if set

The script will fail with a clear error if none are set.

Prerequisites

  1. Credentials: Set one of the env vars above (see “Required environment variables”).
  2. Prepare clone audio (format/duration/size limits above).
  3. Before cloning, confirm the voice name (voice_name) with the user, e.g. liuyang_narration_v1.

Usage

  1. Go to the skill directory: cd workspace/skills/voice-clone-tts
  2. Run the script (clone + synthesize):
python scripts/minimax_voice_clone_tts.py \
  --audio "/absolute/path/to/voice.wav" \
  --voice-name "yangtuo_demo_v1" \
  --display-name "Alpaca Demo" \
  --text "Hello, this is a cloned voice test." \
  --output "./output/voice_test.mp3"
  1. To clone only (no synthesis), omit --text.
  2. To synthesize only (by display name or voice_id):
# Resolve by display name
python scripts/minimax_voice_clone_tts.py \
  --voice "voice_v2" \
  --text "This is TTS using an existing cloned voice." \
  --output "./output/reuse_voice.mp3"

# Or specify voice_id directly
python scripts/minimax_voice_clone_tts.py \
  --voice-id "yangtuo_demo_v1" \
  --text "This is TTS using an existing cloned voice." \
  --output "./output/reuse_voice.mp3"

Common Options

  • --audio: Path to clone audio (required for cloning).
  • --voice-name: Required when cloning; API voice ID (letters, digits, underscores, e.g. yangtuo_demo_v1).
  • --display-name: Optional when cloning; display name written to SKILL (e.g. Alpaca Demo). Defaults to --voice-name if omitted.
  • --voice-id: For synthesis, specify API voice_id directly (skips mapping table).
  • --voice: For synthesis, specify display name or voice_id; resolved from the mapping table below (e.g. voice_v2 or yangtuo_demo_v1).
  • --text: Text to synthesize (omit for clone-only).
  • --output: Output audio path (default ./output/minimax_tts.mp3).
  • --model: Speech model (default speech-2.8-turbo).
  • --format: Output format (mp3/pcm/flac/wav).
  • --speed --vol --pitch --emotion: Speech expression parameters.

Write-Back (Important)

  • After a successful clone, the script writes display name → voice_id to the “Cloned Voice Mapping” section below.
  • Use a display name with --voice "display name" so you don't need to remember voice_id.

Cloned Voice Mapping

  • Left: display name; right: API voice_id. For TTS use --voice "display name" or --voice-id voice_id.

<!-- CLONED_VOICES:START -->

  • test_voice_1772187110: test_voice_1772187110 (updated: 2026-02-27 18:12:00)
  • voice_v1: shuangyue_test (updated: 2026-02-28 16:47:01)
  • voice_v2: yangtuo_demo_v1 (updated: 2026-02-27 18:19:39)
  • voice_v3: dong_yuhui_voice_v1 (updated: 2026-03-02 19:51:44)

<!-- CLONED_VOICES:END -->

Troubleshooting

  • 401 / auth failure: Check that MINIMAX_API_KEY is correct.
  • Parameter errors: Check voice_name rules, audio format/size, and text length.
  • Clone succeeded but not written back: Ensure SKILL.md exists and contains the write-back marker block.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

74.72%
按下载量换算2,412

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills