GitHubGet started
← All use cases

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.

./context
  • 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.

the agent's microVM
  • 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.

./artifacts
  • 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.py
needs 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