openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > 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".

通信与消息

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 1 · 2.8k · 29 current installs · 31 all-time installs

1

安装量(当前) 31

🛡 VirusTotal :良性 · OpenClaw :可疑

Package:amstko/tts

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :可疑

OpenClaw 评估

The skill's code and instructions match its TTS purpose, but metadata omits required API keys and the SKILL.md and files disagree about which secrets are needed — that inconsistency should be resolved before trusting the skill.

目的

The skill name, description, and included scripts (Hume and OpenAI TTS) are coherent with a text-to-speech purpose. However, the registry metadata lists no required environment variables or primary credential while the SKILL.md and scripts clearly require HUME_API_KEY (and reference HUME_SECRET_KEY) and OPENAI_API_KEY. The missing declaration of those secrets in metadata is an incoherence.

说明范围

SKILL.md instructs running the included Node scripts with the provider API keys and to send the resulting MP3 via the agent 'message' tool. The runtime instructions only send the provided text to the Hume or OpenAI TTS endpoints and write the resulting file; they do not attempt to read unrelated files or system secrets. Minor scope issues: SKILL.md mentions HUME_SECRET_KEY though the Hume script only reads HUME_API_KEY, and the documentation d…

安装机制

There is no install spec (instruction-only), which is lower risk, but the repository includes package.json and a large package-lock.json indicating Node dependencies (openai, commander). The skill will likely require an npm install/npm ci and a Node runtime to run the scripts; this is not declared. No downloads from untrusted URLs or extract steps are present.

证书

The scripts require sensitive API keys (OPENAI_API_KEY and HUME_API_KEY) to operate — this is proportionate to TTS functionality. However the skill metadata did not declare these environment requirements or a primary credential. SKILL.md also references HUME_SECRET_KEY which the Hume script does not use. The mismatch between declared/required secrets is a red flag because it obscures what credentials the skill will access.

持久

The skill does not request persistent or elevated privileges. always is false, it does not modify other skills or system configuration, and it does not request installation hooks or agent-wide changes.

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Tts」。简介:Convert text to speech using Hume AI (or OpenAI) API. Use when the user asks fo…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/amstko/tts/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
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.