{"slug":"Qwen3_TTS_12Hz_1_7B_CustomVoice","routeSlug":"qwen3-tts-custom-voice","name":"Qwen3 TTS CustomVoice","developer":"Alibaba Qwen","modality":"audio","inferenceTypes":["txt2audio"],"surface":"both","infrastructure":"native-fleet","planRequired":"basic","status":"standard_model","tags":["Native GPU Fleet","OpenAI-compatible"],"description":"9 premium voices (male & female). 10 languages: EN, ZH, JA, KO, DE, FR, RU, PT, ES, IT. Instruction-driven emotion & prosody control. Streaming with 97ms latency. Output: MP3 at 24kHz.","useCases":["Run Qwen3 TTS CustomVoice via unified v2 jobs with free pre-run /price quotes","Drop-in compatible with the OpenAI SDK via the OpenAI-compatible gateway","Low-latency pay-as-you-go inference on direct GPU capacity"],"samplePrompt":"The year is twenty forty-five. Humanity has finally cracked the code on fusion energy, and the world will never be the same. Cities float above the clouds, powered by reactors no bigger than a suitcase. But not everyone is celebrating. Deep beneath the ocean floor, something ancient has awakened — something that doesn't appreciate all the noise we've been making. This is the story of first contact, and it doesn't start with a handshake.","pricing":{"unit":"Per character","headlineRate":"Live quote via /api/v2/quote","hasLiveQuoteEndpoint":true,"quoteEndpoint":"/api/v2/quote","isEstimated":false,"notes":"9 preset speakers across 10 languages; max 5,000 chars."},"specs":{"limits":{"max_chars":5000,"languages":10}},"links":{"html":"https://runstage.dev/models/qwen3-tts-custom-voice","markdown":"https://runstage.dev/models/qwen3-tts-custom-voice.md","json":"https://runstage.dev/models/qwen3-tts-custom-voice.json","playground":"https://runstage.dev/playground?model=Qwen3_TTS_12Hz_1_7B_CustomVoice"},"snippets":{"curl":"# 1. Free pre-run retail quote\ncurl -X POST 'https://runstage.dev/api/v2/quote' \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"model\":\"Qwen3_TTS_12Hz_1_7B_CustomVoice\",\"charCount\":320}'\n\n# 2. Submit metered job\ncurl -X POST 'https://runstage.dev/api/v2/run' \\\n  -H \"Authorization: Bearer $RUNSTAGE_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{   \"model\": \"Qwen3_TTS_12Hz_1_7B_CustomVoice\",   \"text\": \"The year is twenty forty-five. Humanity has finally cracked the code on fusion energy, and the world will never be the same. Cities float above the clouds, powered by reactors no bigger than a suitcase. But not everyone is celebrating. Deep beneath the ocean floor, something ancient has awakened — something that doesn'\\''t appreciate all the noise we'\\''ve been making. This is the story of first contact, and it doesn'\\''t start with a handshake.\",   \"lang\": \"English\",   \"voice\": \"Vivian\",   \"speed\": 1,   \"format\": \"mp3\",   \"sample_rate\": 24000 }'\n\n# 3. Poll owner-scoped job result until status is \"done\" or \"failed\"\ncurl -H \"Authorization: Bearer $RUNSTAGE_API_KEY\" \\\n  'https://runstage.dev/api/v2/jobs/<request_id>'","typescript":"const headers = {\n  Authorization: `Bearer ${process.env.RUNSTAGE_API_KEY}`,\n  \"Content-Type\": \"application/json\",\n};\n\n// 1. Free pre-run retail quote\nconst quote = await fetch(\"https://runstage.dev/api/v2/quote\", {\n  method: \"POST\",\n  headers: { \"Content-Type\": \"application/json\" },\n  body: JSON.stringify({\n  \"model\": \"Qwen3_TTS_12Hz_1_7B_CustomVoice\",\n  \"charCount\": 320\n}),\n}).then((r) => r.json());\nconsole.log(\"Quoted USD:\", quote.data?.price);\n\n// 2. Submit metered job\nconst job = await fetch(\"https://runstage.dev/api/v2/run\", {\n  method: \"POST\",\n  headers,\n  body: JSON.stringify({\n  \"model\": \"Qwen3_TTS_12Hz_1_7B_CustomVoice\",\n  \"text\": \"The year is twenty forty-five. Humanity has finally cracked the code on fusion energy, and the world will never be the same. Cities float above the clouds, powered by reactors no bigger than a suitcase. But not everyone is celebrating. Deep beneath the ocean floor, something ancient has awakened — something that doesn't appreciate all the noise we've been making. This is the story of first contact, and it doesn't start with a handshake.\",\n  \"lang\": \"English\",\n  \"voice\": \"Vivian\",\n  \"speed\": 1,\n  \"format\": \"mp3\",\n  \"sample_rate\": 24000\n}),\n}).then((r) => r.json());\n\n// 3. Poll owner-scoped job status until terminal\nlet result;\nfor (let i = 0; i < 60; i++) {\n  result = await fetch(`https://runstage.dev/api/v2/jobs/${job.data.request_id}`, {\n    headers: { Authorization: headers.Authorization },\n  }).then((r) => r.json());\n  if ([\"done\", \"failed\", \"refunded\"].includes(result.data?.status)) break;\n  await new Promise((r) => setTimeout(r, 2000));\n}\nconsole.log(\"Status:\", result?.data?.status, result?.data?.result_url);","python":"import os, time, requests\n\nheaders = {\"Authorization\": f\"Bearer {os.environ['RUNSTAGE_API_KEY']}\"}\n\n# 1. Free pre-run retail quote\nquote = requests.post(\n    \"https://runstage.dev/api/v2/quote\",\n    json={\n    \"model\": \"Qwen3_TTS_12Hz_1_7B_CustomVoice\",\n    \"charCount\": 320\n},\n    timeout=15,\n).json()\nprint(\"Quoted USD:\", quote[\"data\"][\"price\"])\n\n# 2. Submit metered job\njob = requests.post(\n    \"https://runstage.dev/api/v2/run\",\n    headers=headers,\n    json={\n    \"model\": \"Qwen3_TTS_12Hz_1_7B_CustomVoice\",\n    \"text\": \"The year is twenty forty-five. Humanity has finally cracked the code on fusion energy, and the world will never be the same. Cities float above the clouds, powered by reactors no bigger than a suitcase. But not everyone is celebrating. Deep beneath the ocean floor, something ancient has awakened — something that doesn't appreciate all the noise we've been making. This is the story of first contact, and it doesn't start with a handshake.\",\n    \"lang\": \"English\",\n    \"voice\": \"Vivian\",\n    \"speed\": 1,\n    \"format\": \"mp3\",\n    \"sample_rate\": 24000\n},\n    timeout=30,\n).json()\njob_id = job[\"data\"][\"request_id\"]\n\n# 3. Poll owner-scoped job status until terminal\nresult = None\nfor _ in range(60):\n    result = requests.get(f\"https://runstage.dev/api/v2/jobs/{job_id}\", headers=headers, timeout=15).json()\n    if result[\"data\"][\"status\"] in (\"done\", \"failed\", \"refunded\"):\n        break\n    time.sleep(2)\nprint(\"Status:\", result[\"data\"][\"status\"], result[\"data\"].get(\"result_url\"))"}}