tts
تایید شدهConvert text to speech using Hume AI (or OpenAI) API. Use when the user asks for an audio message, a voice reply, or to hear something "of vive voix".
(0)
۱.۰k
۷۷
۹۷
نصب مهارت
مهارتها کدهای شخص ثالث از مخازن عمومی GitHub هستند. SkillHub الگوهای مخرب شناختهشده را اسکن میکند اما نمیتواند امنیت را تضمین کند. قبل از نصب، کد منبع را بررسی کنید.
نصب سراسری (سطح کاربر):
npx skillhub install openclaw/skills/ttsنصب در پروژه فعلی:
npx skillhub install openclaw/skills/tts --projectمسیر پیشنهادی: ~/.claude/skills/tts/
بررسی هوش مصنوعی
کیفیت دستورالعمل35
دقت توضیحات55
کاربردی بودن65
صحت فنی65
Working TTS scripts with proper error handling, but SKILL.md is extremely thin (905 chars). The scripts carry the skill — without them it would score much lower. Instructions need expansion.
محتوای SKILL.md
---
name: tts
description: Convert text to speech using Hume AI (or OpenAI) API. Use when the user asks for an audio message, a voice reply, or to hear something "of vive voix".
---
# Text-to-Speech (TTS)
Convert text to speech and generate audio files (MP3).
## Hume AI (Preferred)
- **Preferred Voice**: `9e1f9e4f-691a-4bb0-b87c-e306a4c838ef`
- **Keys**: Stored in environment as `HUME_API_KEY` and `HUME_SECRET_KEY`.
### Usage
```bash
HUME_API_KEY="..." HUME_SECRET_KEY="..." node {baseDir}/scripts/generate_hume_speech.js --text "Hello Jonathan" --output "output.mp3"
```
## OpenAI (Legacy)
- **Preferred Voice**: `nova`
- **Usage**: `OPENAI_API_KEY="..." node {baseDir}/scripts/generate_speech.js --text "..." --output "..."`
## General Notes
- The scripts print a `MEDIA:` line with the absolute path to the generated file.
- Use the `message` tool to send the resulting file to the user.