openai-tts
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 th
npx skills add majiayu000/claude-skill-registry --skill openai-tts-python-moltbot-skills --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# OpenAI TTS Text-to-speech conversion using OpenAI's TTS API for generating high-quality, natural-sounding audio from text. ## Features - 6 different voice options (male/female) - Standard and HD quality models - Automatic text chunking for long content (4096 char limit) - Multiple output formats (mp3, opus, aac, flac) ## Activation This skill activates when the user: - Requests audio/voice output: "read this to me", "convert to audio", "generate speech", "make this an audio file" - Uses keywords: "tts", "openai tts", "text to speech", "voice", "audio", "podcast" - Needs content spoken for accessibility, multitasking, or podcast creation - Specifies voice preferences: "alloy", "echo", "fable", "onyx", "nova", "shimmer" - Asks to "narrate", "speak", or "vocalize" text ## Requirements - `OPENAI_API_KEY` environment variable must be set - Python 3.8+ - Dependencies: `openai`, `pydub` (optional, for long text) ## Voices | Voice | Type | Description | |-------|------|-------------| | alloy | Neutral | Balanced, versatile | | echo | Male | Warm, conversational | | fable | Neutral | Expressive, storytelling | | onyx | Male | Deep, authoritative | | nova | Female | Friendly, upbeat | | sh
- Features
- Activation
- Requirements
- Voices
- Usage
- Basic Usage
- Command Line
- Long Text (Auto-chunking)
- Models
- Output Formats
- Error Handling
- Examples
- Convert Article to Podcast
- Batch Processing
Basic python -c " from openai import OpenAI client = OpenAI() response = client.audio.speech.create(model='tts-1', voice='onyx', input='Hello world')
What does the openai-tts skill do?
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 th
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill openai-tts-python-moltbot-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
