speech

Generate speech audio from text using the OpenAI Audio API.

1|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/cdrguru/portable-agent-kit --skill speech-cdrguru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speech
Source: https://github.com/cdrguru/portable-agent-kit/tree/main/.codex/skills/speech
Command: npx skills add https://github.com/cdrguru/portable-agent-kit --skill speech-cdrguru

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openai, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The Speech skill reduces manual effort by turning text into spoken audio, enabling accessible narration, voice prompts, and batch audio production without recording voiceovers.

Core Features & Use Cases

  • Supports single and batch text-to-speech generation via the bundled CLI and the OpenAI Audio API.
  • Offers built-in voices and deterministic runs for repeatable, review-ready audio outputs.
  • Use cases include narration, product demos, accessibility reads, and IVR prompts.

Quick Start

Install an OPENAI_API_KEY and run the bundled CLI to generate speech from text.

Frequently Asked Questions about speech

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert text into speech using the OpenAI Audio API?

To convert text into speech, you can use a CLI tool that automates OpenAI Audio API requests, turning written text into narrated audio files for accessibility or voice prompts.

Can I generate text-to-speech audio for multiple scripts in one batch?

Yes, batch text-to-speech generation is supported. You can process multiple narration tasks simultaneously using the bundled CLI, producing review-ready audio outputs in a single deterministic run.

Do I need an OpenAI API key to generate audio narration?

Yes, an OpenAI API key is required. You must install your OPENAI_API_KEY in the environment before running the bundled CLI to authenticate text-to-speech audio generation requests.

What is the best way to automate voice prompt generation for IVR systems?

Automating voice prompt generation is best handled through a CLI that leverages the OpenAI Audio API, providing built-in voices and deterministic outputs for repeatable IVR audio production.

Are there limitations on input length for batch text-to-speech processing?

Yes, the text-to-speech process enforces input limits on text length. You must structure your narration scripts to comply with these enforced limits before running batch audio generation.