Skip to main content

mlx-tts

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

来源信息

仓库
guoqiao/skills
最近来源活动
2026年2月11日 22:07
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
mlx-tts
description
Text-To-Speech with MLX (Apple Silicon) and opensource models (default QWen3-TTS) locally.
author
guoqiao
metadata
{"openclaw":{"always":false,"emoji":"🦞","homepage":"https://clawhub.ai/guoqiao/mlx-tts","os":["darwin"],"requires":{"bins":"[Truncated]"}}}
triggers
["/mlx-tts <text>","TTS ...","Convert text to audio ...","Say <text>","Reply with voice message ..."]
# 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", ...)`
在 GitHub 查看