Deploying real-time personalized speech with Qwen3-TTS on Amazon SageMaker AI Amazon SageMaker JumpStart now offers the publicly available Qwen3-TTS-12Hz-1.7B-Base text-to-speech model from Alibaba Cloud's Qwen team for deployment to fully managed, real-time inference endpoints, enabling voice cloning from a few seconds of reference audio without retraining. The model covers 10 languages — Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, and Italian — and supports cross-lingual cloning and streaming generation for low-latency use, with deployment handled through the Amazon SageMaker Python SDK and monitoring via Amazon CloudWatch metrics. It is available alongside Qwen3-TTS-12Hz-1.7B-CustomVoice and Qwen3-ASR-1.7B, letting teams keep audio data within their AWS environment and control cost. Artificial Intelligence https://aws.amazon.com/blogs/machine-learning/ Deploying real-time personalized speech with Qwen3-TTS on Amazon SageMaker AI With voice cloning, you can generate new speech in a target speaker’s voice from a short reference recording, without retraining a model. You can now deploy the publicly available Qwen3-TTS-12Hz-1.7B-Base https://huggingface.co/Qwen/Qwen3-TTS-12Hz-1.7B-Base text-to-speech model from Amazon SageMaker JumpStart https://docs.aws.amazon.com/sagemaker/latest/dg/studio-jumpstart.html to a fully managed, real-time inference endpoint. Voice cloning reproduces the vocal identity of a specific speaker. Start with a short recording of the speaker and its transcript. Then supply the new text to synthesize. The model speaks that text in the reference speaker’s voice, without retraining. Media teams, educators, and application developers can use this capability to create personalized voice experiences and localize multilingual content. They can also support accessible communication and preserve a speaker’s identity across languages. With a self-hosted, publicly available voice cloning model, you control cost and keep audio data within your AWS environment. You can also adapt the model to your domain. With Amazon SageMaker AI https://aws.amazon.com/sagemaker/ai/ , you can run the model on a fully managed real-time endpoint and handle infrastructure provisioning, health monitoring, and automatic scaling. You don’t manage the underlying GPU servers. This post shows how to deploy Qwen3-TTS-12Hz-1.7B-Base from Amazon SageMaker JumpStart using the Amazon SageMaker Python SDK https://github.com/aws/sagemaker-python-sdk , and how to invoke the resulting endpoint to clone a voice from a reference clip. It also covers the configuration settings that make this deployment work in practice, along with the Amazon CloudWatch metrics you can use to monitor and right-size the endpoint. What is Qwen3-TTS Qwen3-TTS is a publicly available text-to-speech model family developed by the Qwen team at Alibaba Cloud. It covers 10 languages: Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, and Italian. The models use the Qwen3-TTS-Tokenizer-12Hz speech tokenizer and support streaming generation for low-latency, interactive scenarios. This post uses the Base variant, Qwen3-TTS-12Hz-1.7B-Base https://huggingface.co/Qwen/Qwen3-TTS-12Hz-1.7B-Base . It performs voice cloning from only a few seconds of user audio. It can also serve as a base for fine-tuning. For voice cloning, the model takes a reference audio clip and its transcript. It captures the speaker’s vocal characteristics, such as timbre, pitch, and cadence, and applies them to new text. This differs from the CustomVoice https://huggingface.co/Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice variant, which generates speech from a fixed set of predefined speakers rather than a user-supplied reference. The model also supports cross-lingual cloning: You can capture a voice from a reference in one language and generate speech in another while preserving the speaker’s vocal identity. Qwen3-TTS-12Hz-1.7B-Base is available in Amazon SageMaker JumpStart alongside Qwen3-TTS-12Hz-1.7B-CustomVoice and Qwen3-ASR-1.7B. With these JumpStart options, you can use the streamlined deployment shown in this post. Voice cloning With voice cloning, applications can reproduce the vocal identity of a chosen speaker from a reference recording, rather than being limited to a fixed set of predefined voices. This supports a range of use cases across media, customer engagement, education, and conversational AI. Benefits Key benefits of this deployment approach include: - Personalization at scale: You can produce speech in a target voice from a short sample, without collecting large training datasets. - Multilingual reach: You can use a voice captured in one language to generate speech in another while preserving identity. - Cost efficiency: Deployments align cost with compute usage instead of per-character API pricing. - Data control: Data stays within your AWS account and the Amazon SageMaker endpoint you manage. Application use cases Common applications for voice cloning include: - Content localization: You can translate content into multiple languages while preserving the original speaker’s voice. - Customer experience: Contact-center and virtual-assistant responses can use a consistent brand voice. - E-learning and audiobooks: You can present long-form content in a specific instructor’s or author’s voice. - Creative prototyping: You can test dialogue and voiceovers before studio production. - Real-time conversational AI: Streaming speech recognition and low-latency synthesis can support interactive voice agents. Solution overview This solution deploys Qwen3-TTS-12Hz-1.7B-Base from Amazon SageMaker JumpStart to a real-time endpoint. JumpStart provides the model artifacts and a pre-built serving container, so you don’t write a custom inference handler. You construct a JumpStartModel object, call its deploy method, and invoke the resulting endpoint with the Amazon SageMaker runtime client. The JumpStart container serves the model to generate 24 kHz audio output from text input. This stage design affects how you size GPU memory, as the following section explains. Architecture The following diagram shows the real-time inference architecture for the deployment. The deployment follows the standard Amazon SageMaker AI real-time inference pattern: 1. The client sends an HTTP request to the Amazon SageMaker AI endpoint. The request body contains the target text, the base64-encoded reference audio, and the reference audio’s transcript. 2. Amazon SageMaker AI routes the request to the vLLM-Omni serving container running on a GPU instance. 3. The talker stage generates speech tokens from the text and reference voice. The code2wav stage renders them into a waveform. 4. The response returns to the client as audio in the requested format this post uses WAV . Prerequisites Before you begin, confirm that you have the following resources and permissions: - An AWS account with access to Amazon SageMaker AI https://docs.aws.amazon.com/sagemaker/ and Amazon Simple Storage Service Amazon S3 https://aws.amazon.com/s3/ . - An AWS Identity and Access Management IAM https://docs.aws.amazon.com/iam/ identity with permissions to create Amazon SageMaker models, endpoint configurations, and endpoints, and to invoke the endpoint. - An Amazon SageMaker Studio https://docs.aws.amazon.com/sagemaker/latest/dg/studio-updated.html environment, a notebook instance, or a local environment with the Amazon SageMaker Python SDK https://sagemaker.readthedocs.io/ installed. - Sufficient service quota for a supported GPU instance. This walkthrough uses ml.g6.4xlarge 1x NVIDIA L4 GPU, 24 GB , which is sufficient for the 1.7B model. - A short reference audio clip of the target speaker a few seconds is sufficient and a transcript of the words spoken in it. Step 1: Deploy the model from JumpStart Construct a JumpStartModel with the model ID and deploy it. The GPU memory override is the most important setting for this deployment. The following section explains how to configure it. Before running the following code, replace