← 返回 Skills 市场
merend

openai-tts-python

作者 merend · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
2145
总下载
1
收藏
8
当前安装
2
版本数
在 OpenClaw 中安装
/install openai-tts-python
功能描述
Text-to-speech conversion using OpenAI's TTS API for generating high-quality, natural-sounding audio. Supports 6 voices (alloy, echo, fable, onyx, nova, shimmer), speed control (0.25x-4.0x), HD quality model, multiple output formats (mp3, opus, aac, flac), and automatic text chunking for long content (4096 char limit per request). Use when: (1) User requests audio/voice output with triggers like "read this to me", "convert to audio", "generate speech", "text to speech", "tts", "narrate", "speak", or when keywords "openai tts", "voice", "podcast" appear. (2) Content needs to be spoken rather than read (multitasking, accessibility). (3) User wants specific voice preferences like "alloy", "echo", "fable", "onyx", "nova", "shimmer" or speed adjustments.
安全使用建议
This package implements a normal OpenAI text-to-speech client and legitimately requires your OPENAI_API_KEY. Before installing or enabling it: (1) confirm the publisher/source (the package lists no homepage and 'Source: unknown'); (2) correct or ask the publisher to correct the registry metadata so the required OPENAI_API_KEY is declared; (3) ensure you are comfortable granting network access to OpenAI and that the key has appropriate billing/usage controls; (4) review the included openai/pydub/ffmpeg install instructions and run in a sandbox if you have doubts; (5) if you plan to deploy broadly, prefer an official or well-audited mirror/repository and verify package versions. The inconsistencies are likely sloppy metadata, not malicious code, but verify source trustworthiness before providing your API key.
功能分析
Type: OpenClaw Skill Name: openai-tts-python Version: 1.0.1 The skill bundle is designed for text-to-speech conversion using OpenAI's API. All files (code and documentation) consistently align with this stated purpose. The `openai_tts.py` script securely retrieves the `OPENAI_API_KEY` from environment variables, which is standard practice for API authentication, and handles file operations (reading input, writing output, temporary files for audio chunking) appropriately. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, obfuscation, or prompt injection attempts in `SKILL.md` or `README.md` that would lead to unauthorized actions or compromise the agent.
能力评估
Purpose & Capability
The code, SKILL.md, README, and manifest all implement a TTS client that calls OpenAI's audio.speech.create API, supports chunking, multiple voices, formats and pydub for combining — this matches the stated purpose. However the top-level registry summary in the evaluation header incorrectly claimed 'Required env vars: none' while SKILL.md, manifest.json, and the script explicitly require OPENAI_API_KEY.
Instruction Scope
Runtime instructions and the script only read user-provided text (args, files, or stdin), call the OpenAI API, and optionally use pydub/ffmpeg to combine audio. There are no instructions to read unrelated system files or exfiltrate other data. Network access to OpenAI is required (expected for this purpose).
Install Mechanism
No custom install spec is provided (instruction-only install), and required dependencies (openai, pydub, ffmpeg) are standard packages/tools available via pip and system package managers. No downloads from untrusted URLs or archives are present in the manifest or README.
Credentials
The manifest, SKILL.md, README, and code all require OPENAI_API_KEY (reasonable for this TTS skill), but the top-level registry metadata reported 'Required env vars: none' and 'Primary credential: none' — an explicit mismatch. This metadata omission reduces transparency about credential needs. No other unrelated secrets are requested, so the single required credential is proportionate, but the metadata inconsistency is a concern.
Persistence & Privilege
The skill does not request persistent/always-on installation and does not modify other skills or system-wide agent settings. Default autonomous invocation is allowed by platform policy (normal) and the skill does not escalate privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openai-tts-python
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openai-tts-python 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added a structured YAML front matter for improved metadata and description. - Expanded the skill description to clearly detail features, supported voices, and activation triggers. - No changes made to usage, features, or code examples. - This update improves discoverability and clarity for all users.
v1.0.0
- Initial release of OpenAI TTS skill. - Supports 6 high-quality voices and 2 model options (standard, HD). - Automatic chunking for long texts (4096 character limit). - Multiple audio output formats: mp3, opus, aac, flac. - Example usages provided for Python and command-line. - Includes error handling, batch processing, and content-to-podcast conversion examples.
元数据
Slug openai-tts-python
版本 1.0.1
许可证
累计安装 8
当前安装数 8
历史版本数 2
常见问题

openai-tts-python 是什么?

Text-to-speech conversion using OpenAI's TTS API for generating high-quality, natural-sounding audio. Supports 6 voices (alloy, echo, fable, onyx, nova, shimmer), speed control (0.25x-4.0x), HD quality model, multiple output formats (mp3, opus, aac, flac), and automatic text chunking for long content (4096 char limit per request). Use when: (1) User requests audio/voice output with triggers like "read this to me", "convert to audio", "generate speech", "text to speech", "tts", "narrate", "speak", or when keywords "openai tts", "voice", "podcast" appear. (2) Content needs to be spoken rather than read (multitasking, accessibility). (3) User wants specific voice preferences like "alloy", "echo", "fable", "onyx", "nova", "shimmer" or speed adjustments. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2145 次。

如何安装 openai-tts-python?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openai-tts-python」即可一键安装,无需额外配置。

openai-tts-python 是免费的吗?

是的,openai-tts-python 完全免费(开源免费),可自由下载、安装和使用。

openai-tts-python 支持哪些平台?

openai-tts-python 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 openai-tts-python?

由 merend(@merend)开发并维护,当前版本 v1.0.1。

💬 留言讨论