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

voice-clone语音克隆

Agent Skill

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

总安装

14,205

周安装

586

GitHub Stars

公开资料未说明

下载量

4,641
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install voice-clone

简介

引导用户在 SenseAudio 平台完成声纹克隆注册流程。

  • 获取 voice_id 后可用于后续文本转语音合成请求。
  • 适用于需要个性化语音合成的数字人项目制作场景。voice-clone 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 原始音频样本需满足时长和信噪比等技术标准要求。
  • 克隆语音不得用于 impersonation 等法律禁止用途。

SKILL.md

name
senseaudio-voice-cloner
description
Guide users through SenseAudio platform voice cloning, then generate TTS with cloned voice_id values. Use when users want to clone voices, manage cloned voice slots, or synthesize audio with a cloned voice.
version
1.0.0
metadata
openclaw
requires
env
bins
primaryEnv
SENSEAUDIO_API_KEY
homepage
https://senseaudio.cn
install
package
requests
package
pydub
compatibility
required_credentials
description
API key from https://senseaudio.cn/platform/api-key
env_var
SENSEAUDIO_API_KEY
homepage
https://senseaudio.cn
source
https://github.com/anthropics/skills

SenseAudio Voice Cloner

Guide users through platform-side voice cloning, then generate personalized TTS with the resulting cloned voice_id.

What This Skill Does

  • Explain the official SenseAudio voice-cloning workflow
  • Validate whether a sample is likely suitable for cloning
  • Help users manage cloned voice slots and voice_id values
  • Generate TTS with a cloned voice through the official TTS API
  • Apply optional pronunciation dictionary control for cloned voices

Credential and Dependency Rules

  • Read the API key from SENSEAUDIO_API_KEY.
  • Send auth only as Authorization: Bearer <API_KEY>.
  • Do not place API keys in query parameters, logs, or saved examples.
  • If Python helpers are used, this skill expects python3, requests, and pydub.
  • pydub is only needed for optional local audio validation.

Official Voice-Cloning Constraints

Use the official SenseAudio platform voice-cloning rules summarized below:

  • Cloning itself is platform-side only; there is no direct public API to create a cloned voice.
  • Users must first clone on the platform, then retrieve the resulting voice_id for API use.
  • Sample requirements for platform cloning:

- duration: 3-30 seconds - size: <=50MB - format: MP3, WAV, or AAC - recording environment: quiet and echo-free

  • Cloning consumes a voice slot on the user's plan.
  • Deleting unused cloned voices frees slots.

Official TTS Constraints for Cloned Voices

Use the official TTS API on /v1/t2a_v2 after the user already has a cloned voice_id:

  • Standard TTS model: SenseAudio-TTS-1.0
  • voice_setting.voice_id is required and may be a cloned voice ID
  • Optional audio formats: mp3, wav, pcm, flac
  • Optional sample rates: 8000, 16000, 22050, 24000, 32000, 44100
  • Optional MP3 bitrates: 32000, 64000, 128000, 256000
  • Optional channels: 1 or 2
  • Optional pronunciation dictionary is only for cloned voices and requires model=SenseAudio-TTS-1.5

Recommended Workflow

  1. Confirm cloning status:
  • If the user does not yet have a cloned voice, direct them to the platform cloning flow first.
  • If they already have a cloned voice, ask for the voice_id.
  1. Validate the source sample when helpful:
  • Check duration, file type, and basic audio quality locally.
  • Warn when the sample is noisy, reverberant, or outside the documented size/duration limits.
  1. Generate TTS with the cloned voice:
  • Use SenseAudio-TTS-1.0 for normal synthesis.
  • Use SenseAudio-TTS-1.5 only when a pronunciation dictionary is needed.
  1. Keep output safe and reproducible:
  • Decode returned hex audio before writing files.
  • Keep filenames deterministic and avoid logging secrets.

Platform Guidance Helper

def guide_voice_cloning():
    return """
To clone a voice on the SenseAudio platform:

1. Open https://senseaudio.cn/platform/voice-clone
2. Prepare a clean speech sample:
   - Duration: 3-30 seconds
   - Format: MP3 / WAV / AAC
   - Size: 50MB or less
   - Environment: quiet, low echo, clear speech
3. Upload or record the sample on the platform
4. Wait for the platform to finish training
5. Copy the resulting voice_id from the voice list
6. Use that voice_id in later TTS API calls
"""

Minimal TTS Helper

import binascii
import os

import requests

API_KEY = os.environ["SENSEAUDIO_API_KEY"]
API_URL = "https://api.senseaudio.cn/v1/t2a_v2"


def generate_with_cloned_voice(text, voice_id, speed=1.0, vol=1.0, pitch=0):
    response = requests.post(
        API_URL,
        headers={
            "Authorization": f"Bearer {API_KEY}",
            "Content-Type": "application/json",
        },
        json={
            "model": "SenseAudio-TTS-1.0",
            "text": text,
            "stream": False,
            "voice_setting": {
                "voice_id": voice_id,
                "speed": speed,
                "vol": vol,
                "pitch": pitch,
            },
            "audio_setting": {
                "format": "mp3",
                "sample_rate": 32000,
                "bitrate": 128000,
                "channel": 2,
            },
        },
        timeout=60,
    )
    response.raise_for_status()
    data = response.json()
    return binascii.unhexlify(data["data"]["audio"]), data.get("trace_id")

Pronunciation Dictionary Pattern

Use this only for cloned voices that need explicit polyphone correction.

def generate_with_dictionary(text, voice_id, dictionary):
    response = requests.post(
        API_URL,
        headers={
            "Authorization": f"Bearer {API_KEY}",
            "Content-Type": "application/json",
        },
        json={
            "model": "SenseAudio-TTS-1.5",
            "text": text,
            "voice_setting": {"voice_id": voice_id},
            "dictionary": dictionary,
        },
        timeout=60,
    )
    response.raise_for_status()
    return response.json()

Dictionary items follow the official shape:

  • original: source text span
  • replacement: pronunciation override such as [hao4]干净

Optional Local Validation

from pydub import AudioSegment


def validate_cloning_audio(audio_file):
    audio = AudioSegment.from_file(audio_file)
    issues = []

    if not 3000 <= len(audio) <= 30000:
        issues.append("duration_out_of_range")
    if audio.frame_rate < 16000:
        issues.append("sample_rate_low")
    if audio.channels > 2:
        issues.append("too_many_channels")
    if not audio_file.lower().endswith((".mp3", ".wav", ".aac")):
        issues.append("unsupported_extension")

    return {
        "valid": not issues,
        "issues": issues,
        "duration_ms": len(audio),
        "sample_rate": audio.frame_rate,
        "channels": audio.channels,
    }

Output Options

  • MP3 or WAV audio synthesized with a cloned voice
  • Markdown instructions for platform cloning and slot management
  • JSON metadata containing voice_id labels and local descriptions
  • Optional validation report for source samples

Safety Notes

  • Do not claim that voice cloning can be initiated through the public API.
  • Do not mix API_KEY and SENSEAUDIO_API_KEY; use SENSEAUDIO_API_KEY consistently.
  • Use SenseAudio-TTS-1.0 by default; reserve SenseAudio-TTS-1.5 for cloned-voice dictionary use.
  • Treat voice_id values as user-specific operational identifiers.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

70.9%
按下载量换算3,290

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills