TopRank Skills

Home / Claw Skills / 其他 / mlx-tts
Official OpenClaw rules 15%

mlx-tts

Text-To-Speech with MLX (Apple Silicon) and opensource models (default QWen3-TTS) locally.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 mlx-tts 技能。 若已安装,则直接安装 mlx-tts 技能。

Overview

Skill Key
guoqiao/mlx-tts
Author
guoqiao
Source Repo
openclaw/skills
Version
-
Source Path
skills/guoqiao/mlx-tts
Latest Commit SHA
b9e4326b7f22f8c8570fd5b1b085f1b8e59b97db

Extracted Content

SKILL.md excerpt

# 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 Silicon
- `brew`: used to install deps if not available

## Installation

```bash
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
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:
```json
{
   "action": "send",
   "filePath": "<filepath>"
}
```

Example:
User: "Say hello world"
Agent:
1. Runs `bash path/to/mlx-tts.sh "hello world"`
2. Receives output: `/tmp/folder/audio.ogg`
3. Calls `message(action="send", filePath="/tmp/folder/audio.ogg", ...)`

Related Claw Skills