Mlx Tts
Text-To-Speech with MLX (Apple Silicon) and opensource models (default QWen3-TTS) locally.
- Rating
- 3.9 (215 reviews)
- Downloads
- 709 downloads
- Version
- 1.0.0
Overview
Text-To-Speech with MLX (Apple Silicon) and opensource models (default QWen3-TTS) locally.
Complete Documentation
View Source →
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
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 "<text>"
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.
message tool to send the audio file to the user as an voice message:
{
"action": "send",
"filePath": "<filepath>"
}
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", ...)
Installation
openclaw install mlx-tts
💻Code Examples
bash ${baseDir}/install.sh
This script will use `brew` to install these CLI tools if not available:
- `uv`: install python package and run python script
- `mlx_audio`: do the real job
## Usage
To generate audio from text, run this script:bash ${baseDir}/mlx-tts.sh "<text>"
### Agent Instructions
1. **Run the script**: Pass the text to be spoken as an argument.
2. **Handle Output**: The script will output a path to a audio file.
Use the `message` tool to send the audio file to the user as an voice message:{
"action": "send",
"filePath": "<filepath>"
}Tags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.