DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to turn a script into a WAV narration file with Nari Qwen3 TTS

Send text to the speech endpoint with curl and save the returned audio as speech.wav.

Short answer: Start the server, either with the Docker run command or with uv run --frozen nari-qwen3-tts-server --profile ttfa; then check that the server is ready with curl --fail http://127.0.0.1:8000/ready. All steps.

Who it is forA content creator or script writer who has a running Nari Qwen3-TTS server and needs a spoken version of a short script.

The problemRecording narration by hand takes time for every script revision.

The outcomeA speech.wav file generated from the input text using a preset voice and English language setting.

What you need first

  • A Linux x86_64 host with an NVIDIA H100 GPU
  • NVIDIA Container Toolkit and a driver compatible with CUDA 13.0 (for Docker)
  • Docker, or uv with Python and the system packages build-essential, libsndfile1, and sox
  • A Hugging Face token (HF_TOKEN) if the model files need to be downloaded

Steps

  1. Start the server, either with the Docker run command or with uv run --frozen nari-qwen3-tts-server --profile ttfa.
  2. Check that the server is ready with curl --fail http://127.0.0.1:8000/ready.
  3. Run curl http://127.0.0.1:8000/v1/audio/speech -H 'Content-Type: application/json' -d '{"model": "Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice", "input": "Hello from Nari Labs.", "voice": "ryan", "language": "english", "response_format": "wav", "stream": false}' --output speech.wav (inferred, check the README)
  4. Replace the input text with the script and rerun the curl command to produce a new file.

Prompt for your agent

In the nari-labs/nari-qwen3-tts repo, send the text in <script-file> to the local `/v1/audio/speech` endpoint with response_format set to wav and save the result as speech.wav. Expected output: a playable WAV file that matches the script. Verify that the file exists and that the request used speed 1.0, since the README says that is the only supported speed.

Caveat. The README says the endpoint supports only the listed model, wav and pcm output, and speed 1.0, so other options will not work.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for nari-labs/nari-qwen3-tts and "Turn a script into a WAV narration file"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer