/install mlx-tts
MLX TTS
Text-To-Speech with MLX (Apple Silicon) and open-source models (default QWen3-TTS) locally.
Free and Fast. No API key required. No server required.
Requirements
mlx: macOS with Apple Siliconbrew: used to install deps if not available
Installation
bash ${baseDir}/install.sh
This script will use brew to install these CLI tools if not available:
uv: install python package and run python scriptmlx_audio: do the real job
Usage
To generate audio from text, run this script:
bash ${baseDir}/mlx-tts.sh "\x3Ctext>"
Agent Instructions
- Run the script: Pass the text to be spoken as an argument.
- Handle Output: The script will output a path to a audio file.
Use the
messagetool to send the audio file to the user as an voice message:
{
"action": "send",
"filePath": "\x3Cfilepath>"
}
Example: User: "Say hello world" Agent:
- Runs
bash path/to/mlx-tts.sh "hello world" - Receives output:
/tmp/folder/audio.ogg - Calls
message(action="send", filePath="/tmp/folder/audio.ogg", ...)
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install mlx-tts - After installation, invoke the skill by name or use
/mlx-tts - Provide required inputs per the skill's parameter spec and get structured output
What is MLX TTS?
Text-To-Speech with MLX (Apple Silicon) and opensource models (default QWen3-TTS) locally. It is an AI Agent Skill for Claude Code / OpenClaw, with 1251 downloads so far.
How do I install MLX TTS?
Run "/install mlx-tts" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is MLX TTS free?
Yes, MLX TTS is completely free (open-source). You can download, install and use it at no cost.
Which platforms does MLX TTS support?
MLX TTS is cross-platform and runs anywhere OpenClaw / Claude Code is available (darwin).
Who created MLX TTS?
It is built and maintained by guoqiao (@guoqiao); the current version is v0.0.3.