← 返回
开发者工具 Key

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".
使用 Hume AI(或 OpenAI)API 将文本转换为语音。当用户请求音频消息、语音回复或想要听某事时使用。
amstko
开发者工具 clawhub v1.0.0 1 版本 99442.8 Key: 需要
★ 1
Stars
📥 4,442
下载
💾 307
安装
1
版本
#latest

概述

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

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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 11:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 667 📥 323,812
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,731
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 425 📥 118,029