qwen3-tts
| Repo | box/github.com/opencharly/pod-qwen3-tts:v2026.324.1852 |
Qwen3-TTS speech service — the OpenAI-compatible speech routes Open WebUI’s
openai TTS engine calls (POST /v1/audio/speech, GET /v1/audio/voices), served
over the upstream qwen-tts python API by a charly-owned FastAPI shim.
Installs a pixi environment (torch cu130 + the qwen-tts package), copies the
shim to ${HOME}/.local/bin/qwen3-tts-server.py (mode 0755) and runs it as a
supervised service on port 8000. The checkpoint loads in a BACKGROUND thread at
service start, so uvicorn answers /v1/models in milliseconds while the model is
still warming; /health is the readiness signal (503 with a machine-readable
reason until the model serves, 200 after), a failed load stays retriable instead
of wedging the process, and every request is validated before anything loads
(a foreign model id or an unsupported response_format is a 4xx naming what this
server does serve). Observable: the running qwen3-tts service, the published
port, a 503 from /health while warming and a 200 once it serves, the
checkpoint’s own speaker list, and real audio bytes (wav, mp3, flac or pcm) from
a POST to /v1/audio/speech.
Packages
Section titled “Packages”Installed on every distro:
gcc
Services
Section titled “Services”qwen3-tts
Acceptance plan
Section titled “Acceptance plan”This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.
| Intent | Step |
|---|---|
run |
create the model cache directory in the user’s home |
run |
create the user binary directory |
run |
install the charly-owned speech server |
run |
install the idle-unload test the plan check runs |
check |
the speech server script is present and executable |
check |
the idle-unload thread releases the checkpoint after the TTL |
check |
the pixi environment provides torch and soundfile for the server |
check |
the qwen-tts package the server imports resolves in the pixi environment |
check |
the server keeps its OpenAI surface up while the checkpoint is unloadable and refuses what it cannot serve |
check |
every advertised response format encodes real bytes and readiness answers 200 only when the model is loaded |

