AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

speech

Use when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run the bundled CLI (`scripts/text_to_speech.py`) with built-in voices and require `OPENAI_API_KEY` for live calls. Custom voice creation is out of scope.

Original source
openai
License
Apache-2.0
Pinned revision
49f948faa9258a0c61caceaf225e179651397431

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read openai--speech at revision 49f948faa9258a0c61caceaf225e179651397431, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 12

references/audio-api.md

Audio Speech API quick reference

Endpoint

  • Create speech: POST /v1/audio/speech

Default model

  • gpt-4o-mini-tts-2025-12-15

Other speech models (if requested)

  • gpt-4o-mini-tts
  • tts-1
  • tts-1-hd

Core parameters

  • model: speech model
  • input: text to synthesize (max 4096 characters)
  • voice: built-in voice name
  • instructions: optional style directions (not supported for tts-1 or tts-1-hd)
  • response_format: mp3, opus, aac, flac, wav, or pcm
  • speed: 0.25 to 4.0

Built-in voices

  • alloy, ash, ballad, cedar, coral, echo, fable, marin, nova, onyx, sage, shimmer, verse

Output notes

  • Default format is mp3.
  • pcm is raw 24 kHz 16-bit little-endian samples (no header).
  • wav includes a header (better for quick playback).

Compliance note

  • Provide a clear disclosure that the voice is AI-generated.