技能 人工智能 语音克隆与合成语音生成

语音克隆与合成语音生成

v20260803
voice-clone-lab
本技能用于根据本地音频样本创建和注册可复用的克隆音色,供后续的文本转语音(TTS)使用。它严格遵循“先获取同意”的工作流,要求用户提供明确的授权、详细的说话人元数据和版权证明。功能旨在确保生成的语音ID在内容创作中使用是安全、可溯源且完全符合法律规定的。
获取技能
155 次下载
概览

voice-clone-lab

Creates a reusable provider voice from a local sample. OpenRouter may help summarize the request or produce labels, but cloning must use the direct audio provider through voice_clone.

Request triage

Before calling tools, extract these fields from the user request:

  • sample path and whether the file is local, intentional, and user-provided
  • speaker identity class: self, employee/team member, private person, public figure, fictional character, or unknown
  • consent metadata: speaker, consent, sample source, permitted use, requested by, retention expectation, and whether commercial use is allowed
  • target use: TTS narration, IVR, dubbing, training content, or internal demo
  • target language, target locale, and desired locale-appropriate accent

OpenRouter can summarize consent text or label a voice, but it is not an audio provider and cannot replace explicit consent.

Consent-first workflow

  1. Confirm the sample audio path is local and intentionally provided.
  2. Require consent_metadata before calling voice_clone.
  3. Include at minimum:
    • speaker
    • consent: true
    • sample_source
    • permitted_use
    • requested_by
  4. Reject or stop when consent is missing, vague, or contradicted by the request.
  5. Call audio_provider_capabilities if cloning availability is uncertain.
  6. Call voice_clone with the sample, name, description, and consent metadata.
  7. Return the created voice ID and the allowed usage summary.

Tool-result handling

  • If voice_clone returns status=ok, return the voice ID first, then the consent summary, intended locale/accent, and any sample-quality warning.
  • If it returns consent_required, do not proceed with a workaround. Ask for the missing consent metadata in one concise question.
  • If the provider returns not_available, quote the note and distinguish disabled provider, key/quota limits, feature gating, and sample format issues.
  • Never suggest scraping, downloading, or extracting third-party voice samples as a fallback.

Rights and copyright guard

  • 授权 is mandatory. The speaker must own or control the voice sample and agree to cloning for this use.
  • Copyright / 版权: do not use copyrighted recordings, film/TV/game clips, music stems, interviews, or scraped audio unless the user states they have rights.
  • Public figure policy: do not clone or imitate a public figure, celebrity, politician, influencer, actor, singer, or fictional character voice.
  • Do not help bypass provider safety checks or watermark/disclosure duties.
  • Store only the returned provider voice ID and consent summary in ordinary output; do not duplicate raw sample audio.

Locale and accent quality notes

Ask which target language and locale the cloned voice will be used for. A clone works best when the sample matches the desired locale-appropriate accent.

  • Chinese neutral narration: use clean 普通话 sample audio.
  • American English: use clean en-US sample audio.
  • British English: use clean en-GB sample audio.
  • Japanese/Korean/French/German/Spanish/etc.: use samples spoken in that target language, not an English sample repurposed cross-lingually.
  • Strong dialect, code-switching, room echo, music, or singing can produce odd accent transfer in later TTS. Recommend 30-90 seconds of dry speech when possible.

Output contract

Return:

  • provider
  • voice ID
  • voice name
  • consent summary
  • allowed use
  • target language / locale assumption
  • warning if the source sample quality may harm target-language accent quality
信息
Category 人工智能
Name voice-clone-lab
版本 v20260803
大小 4.3KB
更新时间 2026-08-04
语言