1---2name: mlx-tts3description: Text-To-Speech with MLX (Apple Silicon) and opensource models (default QWen3-TTS) locally.4---56# MLX TTS
78Text-To-Speech with MLX (Apple Silicon) and open-source models (default QWen3-TTS) locally.
910Free and Fast. No API key required. No server required.
1112## Requirements
1314- `mlx`: macOS with Apple Silicon
15- `brew`: used to install deps if not available
1617## Installation
1819```bash
20bash ${baseDir}/install.sh
21```
22This script will use `brew` to install these CLI tools if not available:
23- `uv`: install python package and run python script
24- `mlx_audio`: do the real job
2526## Usage
2728To generate audio from text, run this script:
2930```bash
31bash ${baseDir}/mlx-tts.sh "<text>"
32```
3334### Agent Instructions
35361. **Run the script**: Pass the text to be spoken as an argument.
372. **Handle Output**: The script will output a path to a audio file.
38Use the `message` tool to send the audio file to the user as an voice message:
39```json
40{
41 "action": "send",
42 "filePath": "<filepath>"
43}
44```
4546Example:
47User: "Say hello world"
48Agent:
491. Runs `bash path/to/mlx-tts.sh "hello world"`
502. Receives output: `/tmp/folder/audio.ogg`
513. Calls `message(action="send", filePath="/tmp/folder/audio.ogg", ...)`
Run npx skillmds@latest add modbender/mlx-tts in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Text-To-Speech with MLX (Apple Silicon) and opensource models (default QWen3-TTS) locally. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: executes scripts. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
modbender (@modbender) published this skill. Their other Agent Skills are listed on their SkillMD profile.