A voice actor
Speaks text in a voice described in words, using Qwen3-TTS.
GPUPython with uvPython · Node.js · Rust
A voice described in words
Write the voice you want, like a calm woman in her thirties speaking slowly, and it speaks the text in it.
- text.txtwhat to say
- instruct.txtthe voice, in words
On your GPU, inside the VM
Qwen3-TTS runs through ncnn on Vulkan in the VM, on your machine's GPU.
- python:3.12-slim-trixiewith ncnn
- Virtio-GPU Venusyour GPU, over Vulkan
- 2 vCPUs · 4 GiB
- /modelsQwen3-TTS, converted on first run
A WAV file back
The speech comes back to ./artifacts as a WAV file.
- speech.wav16-bit mono PCM, 24 kHz
Run it
git clone https://github.com/brekkylab/ailoy
git clone https://github.com/brekkylab/ailoy-examples
cd ailoy-examples/tts/python
uv run main.pygit clone https://github.com/brekkylab/ailoy
git clone https://github.com/brekkylab/ailoy-examples
(cd ailoy/bindings/node && npm install && npm run build)
cd ailoy-examples/tts/node
npm install
npm startgit clone https://github.com/brekkylab/ailoy
git clone https://github.com/brekkylab/ailoy-examples
cd ailoy-examples
cargo run --example ttsneeds GPU · Python with uv · and a logged-in Claude Code, Codex or Gemini CLI, or an API key
Run your first agent
in its own microVM
Install the package, name a model and run it