{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "tencent-hunyuan-auk--clone-voice-from-reference-clip",
 "repo": "Tencent-Hunyuan/AuK",
 "repo_url": "https://github.com/Tencent-Hunyuan/AuK",
 "repo_slug": "tencent-hunyuan-auk",
 "title": "Generate speech in a reference speaker's voice",
 "page_title": "How to generate speech in a reference speaker's voice with AuK",
 "summary": "Turn a script into spoken audio that keeps the voice of a short reference recording using zero-shot TTS.",
 "who": "A content creator or narrator who has a short clip of a voice they are allowed to use and needs a new line read in that voice.",
 "problem": "Recording every new script line again is slow, and the voice must match the earlier recording.",
 "outcome": "A WAV file with the target text spoken in the reference voice at the chosen length.",
 "steps": [
  "`git clone https://github.com/Tencent-Hunyuan/AuK`",
  "`cd AuK`",
  "`uv venv --python 3.10`",
  "`source .venv/bin/activate`",
  "`uv pip install -e .`",
  "`hf download tencent/AuK --local-dir ./ckpts/AuK`",
  "`hf download Qwen/Qwen2.5-Omni-3B --local-dir ./ckpts/Qwen2.5-Omni-3B` (inferred, check the README)",
  "`auk-infer --audio <reference.wav> --instruction \"Say the following with the same voice: '<target text>'\" --output <out.wav> --gen_seconds 6.0` (inferred, check the README)"
 ],
 "agent_prompt": "Using the Tencent-Hunyuan/AuK repo, set up the environment and download the AuK and Qwen2.5-Omni-3B weights, then run auk-infer with <reference.wav> and the target text <target text> to write <out.wav>. Verify that <out.wav> exists and plays back at about the requested length, and report the path only if the speaker permission for <reference.wav> is confirmed.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README gives a duration hint through --gen_seconds, so the output length may need adjusting for your script.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.10 and uv or Conda",
  "A GPU with enough VRAM to run the model (CPU offload is CUDA only)",
  "Disk space and network access to download the AuK weights and the Qwen2.5-Omni-3B encoder from Hugging Face or ModelScope",
  "Source audio or a reference clip for tasks that need one"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "voice-cloning",
   "notice": "The output imitates the reference speaker, so use only voices you have permission to clone."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/tencent-hunyuan-auk/clone-voice-from-reference-clip/",
 "md": "https://dedupedai.com/use-cases/tencent-hunyuan-auk/clone-voice-from-reference-clip/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/tencent-hunyuan-auk--clone-voice-from-reference-clip.json",
 "api_version": "v1"
}
