Authorization notice. AuK is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Voice cloning. The output imitates the reference speaker, so use only voices you have permission to clone.
Who it is forA 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.
The problemRecording every new script line again is slow, and the voice must match the earlier recording.
The outcomeA WAV file with the target text spoken in the reference voice at the chosen length.
What you need first
- 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
Steps
git clone https://github.com/Tencent-Hunyuan/AuKcd AuKuv venv --python 3.10source .venv/bin/activateuv pip install -e .hf download tencent/AuK --local-dir ./ckpts/AuKhf 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)
Prompt for your agent
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.
Caveat. The README gives a duration hint through --gen_seconds, so the output length may need adjusting for your script.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Tencent-Hunyuan/AuK and "Generate speech in a reference speaker's voice"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer