voice-cloning
Skill8 starsChanged 5 months agoMITView on GitHub
Create a custom voice and speak text in it. Use when the user says "clone my voice", "make it sound like this recording", "use my voice for the narration", "design a voice that sounds like an old wizard", "a warm female voice with a British accent", or wants a repeatable custom voice rather than a stock preset. Two paths: clone from an audio sample, or design a new one from a written description. If the user just wants narration in a stock voice, use voiceover. For two speakers, use dialogue-audio.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- nmb1337/dafeiyu-skillstheir own version, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- nmb1337/dafeiyu-skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository32 other files it gives its agents.
- add-audio-to-videoSkill
- animate-imageSkill
- bring-your-own-modelSkill
- character-consistencySkill
- cinematic-videoSkill
- composite-sceneSkill
- controlled-generationSkill
- dialogue-audioSkill
- edit-imageSkill
- edit-videoSkill
- game-assets-2dSkill
- image-to-3d-assetSkill
- llm-agentSkill
- logos-and-vectorsSkill
- multi-shot-videoSkill
- musicSkill
- photoreal-stillsSkill
- product-ad-videoSkill
- product-photographySkill
- reframe-videoSkill
- replace-in-videoSkill
- restore-and-upscaleSkill
- runware-modelsSkill
- runware-promptingSkill
- runware-runSkill
- talking-avatarSkill
- text-in-imageSkill
- train-style-modelSkill
- ugc-adSkill
- video-upscaleSkill
- vision-understandingSkill
- voiceoverSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
Run asynchronously and poll getResponse to terminal.
- Distinctive: line 39
Read the audio URL from the result, then check it before returning (see Quality bar).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 ininputs.audiowithspeech.voice: "clone". Highest-similarity mode (ICL) needs atranscriptof the sample; embedding-only mode (settings.xVectorOnly: true) skips the transcript at lower similarity. 10+ languages. - Clone for dialogue / multi-speaker: Dia2 2B (
runware:dia2@2b). Reference voices go ininputs.audios(first =[S1], second =[S2]), supports non-verbal cues. English only. - Design from a description: Qwen3-TTS VoiceDesign (
alibaba:qwen@3-tts-1.7b-voicedesign). The voice is created from a natural-language description inpositivePrompt, withspeech.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
- Resolve the chosen model's schema (
runware-run) and confirm the cloning/voice fields andspeech.textlimit. - Upload the reference recording (cloning paths) into
inputs.audio(Qwen) orinputs.audios(Dia). For designing, no upload, just the description. - Build the request:
taskType: "audioInference", the model AIR,speech.textwith the lines to speak, plus the voice field for that model. - Run asynchronously and poll
getResponseto terminal. Audio is a time-based task, do not block a sync call on it. - 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
transcriptof the reference for the high-similarity ICL mode. Only fall back tosettings.xVectorOnly: true(no transcript) when you cannot transcribe the sample, and expect a looser match. - Design by stacking traits. For VoiceDesign, write the
positivePromptas 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 invoiceover. - Dia speaks dialogue. Tag lines
[S1]/[S2]inspeech.textand align them to the reference order ininputs.audios. Insert non-verbal cues inline like(laughs),(sighs),(coughs). For turning that into a back-and-forth scene, compose withdialogue-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 novoicefield, 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: truetrades 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).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

