o

openai-tts-python

📅 2026-04-15 04:37 👁️ 1 阅读 来源: SkillHub
0
⬇️ 下载量
98,648
⭐ 收藏
0
📦 安装量

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.

🔧 安装方式

复制提示词,发送给任意 AI 助手即可安装 Skill,包括但不限于 Lighthouse OpenClaw、WorkBuddy、QClaw、Kimi、Claude 等

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub.cn/install/skillhub.md 安装 Skillhub 商店,然后安装 openai-tts-python 技能。 若已安装,则直接安装 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.

原文链接:https://clawhub.ai/merend/openai-tts-python