Speech

On this page

Text to voice

Install a speech model on the Download tab. Then use the Speech tab, or "Read aloud" under a chat reply. It plays while it is still being made.

Speech tab

Voice models

NameDownloadSample rateDescribe a voiceImitate a recording
qwen3-tts (recommended)2.3 GiB24 kHznoyes
voxcpm23.3 GiB48 kHzyesyes

Both are Apache-2.0. Choose qwen3-tts for clear speech; without a reference voice voxcpm2 tends to mumble short sentences.

Using a voice of your choice

  • Upload up to 30 seconds of wav or mp3 and the model imitates it. Adding the words spoken makes it closer.
  • Save voices you like under a name and pick them later; "Read aloud" uses them too.
  • Names may use letters, digits, spaces, - and _, up to 64 characters; recordings up to 10 MB.

Imitate only voices you have the right to use.

Long texts

Long texts are done in pieces and joined, keeping one voice. On an AMD R9700 you hear the start after about 3 s, and 70 s of audio takes about 25 s.

Voice to text

Install Qwen3-ASR 0.6B on the Download tab (about 1 GB, Apache-2.0). Then on the Transcribe tab press "Record" or "Choose audio file".

Transcribe tab

  • WAV, MP3 and FLAC.
  • Chinese, Cantonese, English and many other languages, without having to say which.
  • Chinese is written in Simplified characters.
  • You can edit and copy the result. Read it over before sending it anywhere.

Whisper-family models also work as they are, for example MediaTek-Research/Breeze-ASR-26 for Taiwanese Hokkien: on the Download tab, enter the name under the Hugging Face file picker, press “Download the whole safetensors model” and file it under audio. It writes Taiwanese speech as Mandarin text. For timed formats such as srt or vtt, some models give inaccurate times and run much slower.

From a program

Text to voice:

curl.exe http://127.0.0.1:3456/v1/audio/speech -H "Content-Type: application/json" -d '{"model":"Qwen3-TTS-12Hz-1.7B-Base-Q8_0","input":"Hello"}' -o hello.wav

Voice to text:

curl.exe http://127.0.0.1:3456/v1/audio/transcriptions -F "[email protected]" -F "model=Qwen3-ASR-0.6B-Q8_0"

Audio comes out as wav or pcm. Fields are listed in the API reference.

Using original model files

The original files on Hugging Face work directly, with no Python and no conversion:

raubot-lm download Qwen/Qwen3-TTS-12Hz-1.7B-Base --safetensors
raubot-lm download openbmb/VoxCPM2 --safetensors --name VoxCPM2-original
  • The first load writes an index file into the model folder; if deleted it is made again.
  • They use more video memory than the versions in the install list.
  • For Qwen3-TTS use a version with Base in its name.
  • Do not give the folder the same name as an installed voxcpm2 (Windows ignores case).

If this page differs from the Traditional Chinese version, the Traditional Chinese version prevails.