当前位置: 首页 > Skill >

Voice Cloning

Voice Cloning

Voice Cloning

创建自定义语音并用它朗读文本。当用户说“克隆我的声音”、“让它听起来像这段录音”、“用我的声音来配音”等时使用。

1.0.0 2026.11.27 256
获取Skill文件查看使用说明
作 者:许川 许可证: 更新时间:2026.11.27
本文目录收起

Voice cloning

Produce speech in a custom voice, one you either clone from a real recording or design from a text description, then synthesize any text in it. The difference from plain text-to-speech: the voice is bespoke, not picked off a preset list. Two intents live here, clone-from-sample and design-from-description, and they route to different models.

Inputs to collect

  • Which intent: clone an existing voice (have a recording) or design a new one (have a description). This picks the model.
  • For cloning: a clean reference recording of the target voice. A few seconds is enough (Qwen ~3s, Dia ~5-10s). Mono, low noise, single speaker. Plus a transcript of what's said in it if using the Qwen clone path.
  • For designing: a voice description covering gender, age, timbre, accent, pace, and mood (e.g. "warm older male, gentle British accent, unhurried").
  • The text to speak, and the target language.
  • Consent / likeness: clone only voices you own or have explicit rights to. Refuse cloning a third party's voice without permission.

Models

  • Clone from a sample (single speaker): Qwen3-TTS Base (alibaba:qwen@3-tts-1.7b-base). Takes the reference recording in inputs.audio with speech.voice: "clone". Highest-similarity mode (ICL) needs a transcript of the sample; embedding-only mode (settings.xVectorOnly: true) skips the transcript at lower similarity. 10+ languages.
  • Clone for dialogue / multi-speaker: Dia 1.6B (runware:dia@1.6b) or Dia2 2B (runware:dia2@2b). Reference voices go in inputs.audios (first = [S1], second = [S2]), supports non-verbal cues. English only. Dia2 streams and is the newer pick.
  • Design from a description: Qwen3-TTS VoiceDesign (alibaba:qwen@3-tts-1.7b-voicedesign). The voice is created from a natural-language description in positivePrompt, with speech.voice: "design". No recording needed.
  • Premium preset timbres (not cloning): Qwen3-TTS CustomVoice (alibaba:qwen@3-tts-1.7b-customvoice). Nine curated timbres (aiden, serena, vivian, …) plus a style hint. Use it when a polished stock voice with style control beats a clone.

Confirm each model is live and inspect its schema via runware-models + runware-run before calling. Voice/cloning fields differ per model, never hardcode them.

Workflow

  1. Resolve the chosen model's schema (runware-run) and confirm the cloning/voice fields and speech.text limit.
  2. Upload the reference recording (cloning paths) into inputs.audio (Qwen) or inputs.audios (Dia). For designing, no upload, just the description.
  3. Build the request: taskType: "audioInference", the model AIR, speech.text with the lines to speak, plus the voice field for that model.
  4. Run asynchronously and poll getResponse to terminal. Audio is a time-based task, do not block a sync call on it.
  5. Read the audio URL from the result, then check it before returning (see Quality bar).

Technique

  • Reference quality sets the ceiling. A clean, dry, single-speaker sample clones well. Background music, reverb, or two voices in the clip degrade similarity more than any setting can recover.
  • Qwen clone, ICL vs embedding. Provide the transcript of the reference for the high-similarity ICL mode. Only fall back to settings.xVectorOnly: true (no transcript) when you cannot transcribe the sample, and expect a looser match.
  • Design by stacking traits. For VoiceDesign, write the positivePrompt as ordered attributes: gender and age, then timbre, then accent, then pace and mood. "A bright young female voice, soft timbre, light Spanish accent, quick and upbeat" beats a vague "nice voice."
  • Style and emotion ride the prompt. On CustomVoice and VoiceDesign, a style hint in positivePrompt ("Speak with great enthusiasm") shapes delivery on top of the voice. This is the same emotion/delivery lever covered in voiceover.
  • Dia speaks dialogue. Tag lines [S1] / [S2] in speech.text and align them to the reference order in inputs.audios. Insert non-verbal cues inline like (laughs), (sighs), (coughs). For turning that into a back-and-forth scene, compose with dialogue-audio.
  • One voice, many lines. Once a clone or design reads right, reuse the exact same inputs (same reference, same description, same voice settings) across every line so the character stays one voice and does not drift between clips.

Parameters that matter

  • speech.text - the lines to speak. Max 2000 chars on Qwen variants, 3000 on Dia. Split longer scripts.
  • speech.voice - "clone" (Qwen Base), "design" (VoiceDesign), a preset id (CustomVoice). Dia has no voice field, the reference audio is the voice.
  • inputs.audio (Qwen Base, single string) / inputs.audios (Dia, up to 2) - the reference recording(s) as URL, UUID, or base64.
  • settings.transcript + settings.xVectorOnly (Qwen Base) - transcript drives high-similarity ICL, xVectorOnly: true trades similarity for skipping it.
  • speech.language - Auto, English, Chinese, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian (Qwen). Dia is English only.
  • speech.speed - 0.25 to 4 on Qwen variants (default 1).
  • CFGScale / settings.temperature (Dia) - lower temperature is cleaner and more consistent, higher is more expressive but riskier. Confirm exact field names against the live schema, never guess.

Quality bar

  • The cloned voice is recognizably the reference speaker, or the designed voice matches every requested trait (gender, age, accent, mood).
  • Speech is clean: no clipping, garble, dropped words, or runaway hallucinated tail audio. Retry with a lower temperature or a cleaner reference if it drifts.
  • Across a multi-line set the voice stays identical (same inputs reused), not a near-cousin per clip.
  • Likeness consent was confirmed for any cloned real person.

Related skills

runware-run, runware-models, runware-prompting; voiceover (single-narrator delivery and emotion control), dialogue-audio (multi-speaker conversations from these voices).

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,040
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,033
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,021
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,021
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,019
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,016
Skill 文件

相关 Skill

更多
声匠 声匠 声匠 — GPT-SoVITS 语音克隆推理引擎。支持声音克隆、整章口播、批量章节生成、多音色切换。Keywords: 语音合成, TTS, 声音克隆, voice cloning, 有声书, 口播.
OmniVoice OmniVoice All-in-one voice identity toolkit: speaker identification, voice library management, voice cloning, and speech-to-text. The only OpenClaw skill with speaker...
SOTA Zero-shot Voice Cloning TTS SOTA Zero-shot Voice Cloning TTS 基于MOSS API的语音优先OpenClaw技能,适用于用户希望以偏好的音色获得语音回复的场景,可使用已有的voice_id或参照...
Minimax 多媒体生成 Minimax 多媒体生成 Generate voice, music, video, and image content via MiniMax APIs — the unified entry for MiniMax multimodal use cases (audio + music + video + image). Includes voice cloning & voice design for custom voices, image generation with character reference, and FFmpeg-based media tools for audio/video format conversion, concatenation, trimming, and extraction.
Text to Speech and Voice Cloning by Verbatik AI Text to Speech and Voice Cloning by Verbatik AI 使用 Verbatik API 将 AI 助手打造为 TTS 与语音克隆的强大工具,适用于文本转语音、声音克隆及克隆管理等场景。