Agent skill · Backend & API

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

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/ai-llm/openai-tts-python-moltbot-skills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Features
  2. Activation
  3. Requirements
  4. Voices
  5. Usage
  6. Basic Usage
  7. Command Line
  8. Long Text (Auto-chunking)
  9. Models
  10. Output Formats
  11. Error Handling
  12. Examples
  13. Convert Article to Podcast
  14. Batch Processing
Ships with 1 file
  • metadata.json
Commands it runs
Basic
python -c "
from openai import OpenAI
client = OpenAI()
response = client.audio.speech.create(model='tts-1', voice='onyx', input='Hello world')
More from claude-skill-registry
All skills →
About this skill
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.

Keep going