speech

Generate spoken audio from text prompts via bundled CLI scripts/text_to_speech.py.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/allenbenj/pages --skill speech-allenbenj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speech
Source: https://github.com/allenbenj/pages/tree/main/.agents/skills/speech
Command: npx skills add https://github.com/allenbenj/pages --skill speech-allenbenj

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Turn text-to-speech generation eliminates the manual effort of recording audio by providing AI-generated narration via built-in voices for quick product demos, accessibility reads, and prompts.

Core Features & Use Cases

  • Single and batch generation: Use the bundled CLI to generate one clip or many from a JSONL batch.
  • Built-in voices and deterministic runs: Default voices and CLI enable reproducible outputs.
  • OpenAI API key gating: Live calls require OPENAI_API_KEY for security and compliance.

Quick Start

Run the bundled CLI scripts/text_to_speech.py with your text to generate speech using the default cedar voice.

Frequently Asked Questions about speech

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

FAQPage Schema
How do I generate text-to-speech audio from the command line?

Generate text-to-speech audio by running the bundled scripts/text_to_speech.py CLI with your text input to produce natural-speech using default built-in voices. You can use it for single narration prompts or batch audio generation.

Do I need an OpenAI API key for batch text-to-speech generation?

Yes, an OPENAI_API_KEY is required for batch text-to-speech generation. The bundled CLI enforces this requirement for all live calls to ensure security and compliance when converting text input into audio outputs.

Can I process multiple text-to-speech prompts in a single batch run?

Yes, you can process multiple text-to-speech prompts in a batch run by providing a JSONL batch file to the CLI. This allows you to generate many audio clips efficiently from one command execution.

What are the limitations of using the OpenAI API for AI voice generation?

Limitations of using the OpenAI API for AI voice generation include enforced input limits and rate limits applied by the CLI. You must manage these constraints when processing large JSONL batch files for audio outputs.

What is the default AI voice used for text-to-speech generation?

The default AI voice used for text-to-speech generation is the built-in cedar voice. It provides reproducible, deterministic outputs for your narration prompts and product demos when using the CLI.

What is the best way to automate text-to-speech for accessibility reads?

The best way to automate text-to-speech for accessibility reads is using the bundled CLI with built-in AI voices and a JSONL batch file. This eliminates manual recording effort and outputs common audio formats deterministically.