{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "nari-labs-nari-qwen3-tts--generate-wav-narration-from-text",
 "repo": "nari-labs/nari-qwen3-tts",
 "repo_url": "https://github.com/nari-labs/nari-qwen3-tts",
 "repo_slug": "nari-labs-nari-qwen3-tts",
 "title": "Turn a script into a WAV narration file",
 "page_title": "How to turn a script into a WAV narration file with Nari Qwen3 TTS",
 "summary": "Send text to the speech endpoint with curl and save the returned audio as speech.wav.",
 "who": "A content creator or script writer who has a running Nari Qwen3-TTS server and needs a spoken version of a short script.",
 "problem": "Recording narration by hand takes time for every script revision.",
 "outcome": "A speech.wav file generated from the input text using a preset voice and English language setting.",
 "steps": [
  "Start the server, either with the Docker run command or with `uv run --frozen nari-qwen3-tts-server --profile ttfa`.",
  "Check that the server is ready with `curl --fail http://127.0.0.1:8000/ready`.",
  "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)",
  "Replace the input text with the script and rerun the curl command to produce a new file."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/nari-labs-nari-qwen3-tts/generate-wav-narration-from-text/",
 "md": "https://dedupedai.com/use-cases/nari-labs-nari-qwen3-tts/generate-wav-narration-from-text/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/nari-labs-nari-qwen3-tts--generate-wav-narration-from-text.json",
 "api_version": "v1"
}
