Loading...
Loading...
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.
npx skill4agent add openai/skills speechgpt-4o-mini-tts-2025-12-15scripts/text_to_speech.pytmp/speech/output/speech/--out--out-diruvuv pip install openaiuvpython3 -m pip install openaiOPENAI_API_KEYOPENAI_API_KEYgpt-4o-mini-tts-2025-12-15cedarmarininstructionstts-1tts-1-hd--rpmOPENAI_API_KEYopenaiscripts/text_to_speech.pyscripts/text_to_speech.pyVoice Affect: <overall character and texture of the voice>
Tone: <attitude, formality, warmth>
Pacing: <slow, steady, brisk>
Emotion: <key emotions to convey>
Pronunciation: <words to enunciate or emphasize>
Pauses: <where to add intentional pauses>
Emphasis: <key words or phrases to stress>
Delivery: <cadence or rhythm notes>Input text: "Welcome to the demo. Today we'll show how it works."
Instructions:
Voice Affect: Warm and composed.
Tone: Friendly and confident.
Pacing: Steady and moderate.
Emphasis: Stress "demo" and "show".{"input":"Thank you for calling. Please hold.","voice":"cedar","response_format":"mp3","out":"hold.mp3"}
{"input":"For sales, press 1. For support, press 2.","voice":"marin","instructions":"Tone: Clear and neutral. Pacing: Slow.","response_format":"wav"}references/prompting.mdreferences/sample-prompts.mdreferences/narration.mdreferences/voiceover.mdreferences/ivr.mdreferences/accessibility.mdreferences/cli.mdreferences/audio-api.mdreferences/voice-directions.mdreferences/codex-network.mdreferences/cli.mdscripts/text_to_speech.pyreferences/audio-api.mdreferences/voice-directions.mdreferences/prompting.mdreferences/sample-prompts.mdreferences/narration.mdreferences/voiceover.mdreferences/ivr.mdreferences/accessibility.mdreferences/codex-network.md