为自然搜索排名提供站点审计、内容撰写与竞品分析。
设计与多媒体
speech
试用用 OpenAI 内置 TTS 音色把文本转成语音文件,单条或批量都能跑。
它能做什么
通过 OpenAI Audio API 生成旁白、产品演示配音、IVR 电话提示音和无障碍朗读音频,统一走自带的 CLI(scripts/text_to_speech.py)。默认模型为 gpt-4o-mini-tts-2025-12-15、默认音色 cedar,会把你的语气要求整理成简短的标签化指令,并把音频写到指定路径。批量任务先写成 tmp/ 下的 JSONL(每行一个任务),跑完即删;单次请求上限 4096 字符,速率限制 50 次/分钟。实时调用需要设置 OPENAI_API_KEY。
什么时候用它
- 为产品演示或讲解视频配旁白
- 一次性生成整套 IVR 电话提示音
- 把界面文案转成无障碍朗读音频
- 把多行文本批量转成独立音频文件
技能文档
Speech Generation Skill
Generate spoken audio for the current project (narration, product demo voiceover, IVR prompts, accessibility reads). Defaults to gpt-4o-mini-tts-2025-12-15 and built-in voices, and prefers the bundled CLI for deterministic, reproducible runs.
When to use
- Generate a single spoken clip from text
- Generate a batch of prompts (many lines, many files)
Decision tree (single vs batch)
- If the user provides multiple lines/prompts or wants many outputs -> batch
- Else -> single
Workflow
- Decide intent: single vs batch (see decision tree above).
- Collect inputs up front: exact text (verbatim), desired voice, delivery style, format, and any constraints.
- If batch: write a temporary JSONL under tmp/ (one job per line), run once, then delete the JSONL.
- Augment instructions into a short labeled spec without rewriting the input text.
- Run the bundled CLI (
scripts/text_to_speech.py) with sensible defaults (see references/cli.md). - For important clips, validate: intelligibility, pacing, pronunciation, and adherence to constraints.
- Iterate with a single targeted change (voice, speed, or instructions), then re-check.
- Save/return final outputs and note the final text + instructions + flags used.
Temp and output conventions
- Use
tmp/speech/for intermediate files (for example JSONL batches); delete when done. - Write final artifacts under
output/speech/when working in this repo. - Use
--outor--out-dirto control output paths; keep filenames stable and descriptive.
Dependencies (install if missing)
Prefer uv for dependency management.
Python packages:
uv pip install openai
If uv is unavailable:
python3 -m pip install openai
Environment
OPENAI_API_KEYmust be set for live API calls.
If the key is missing, give the user these steps:
- Create an API key in the OpenAI platform UI: https://platform.openai.com/api-keys
- Set
OPENAI_API_KEYas an environment variable in their system. - Offer to guide them through setting the environment variable for their OS/shell if needed.
- Never ask the user to paste the full key in chat. Ask them to set it locally and confirm when ready.
If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.
Defaults & rules
- Use
gpt-4o-mini-tts-2025-12-15unless the user requests another model. - Default voice:
cedar. If the user wants a brighter tone, prefermarin. - Built-in voices only. Custom voices are out of scope for this skill.
instructionsare supported for GPT-4o mini TTS models, but not fortts-1ortts-1-hd.- Input length must be <= 4096 characters per request. Split longer text into chunks.
- Enforce 50 requests/minute. The CLI caps
--rpmat 50. - Require
OPENAI_API_KEYbefore any live API call. - Provide a clear disclosure to end users that the voice is AI-generated.
- Use the OpenAI Python SDK (
openaipackage) for all API calls; do not use raw HTTP. - Prefer the bundled CLI (
scripts/text_to_speech.py) over writing new one-off scripts. - Never modify
scripts/text_to_speech.py. If something is missing, ask the user before doing anything else.
Instruction augmentation
Reformat user direction into a short, labeled spec. Only make implicit details explicit; do not invent new requirements.
Quick clarification (augmentation vs invention):
- If the user says "narration for a demo", you may add implied delivery constraints (clear, steady pacing, friendly tone).
- Do not introduce a new persona, accent, or emotional style the user did not request.
Template (include only relevant lines):
Voice Affect:
Tone:
Pacing:
Emotion:
Pronunciation:
Pauses:
Emphasis:
Delivery:
Augmentation rules:
- Keep it short; add only details the user already implied or provided elsewhere.
- Do not rewrite the input text.
- If any critical detail is missing and blocks success, ask a question; otherwise proceed.
Examples
Single example (narration)
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".
Batch example (IVR prompts)
{"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"}
Instructioning best practices (short list)
- Structure directions as: affect -> tone -> pacing -> emotion -> pronunciation/pauses -> emphasis.
- Keep 4 to 8 short lines; avoid conflicting guidance.
- For names/acronyms, add pronunciation hints (e.g., "enunciate A-I") or supply a phonetic spelling in the text.
- For edits/iterations, repeat invariants (e.g., "keep pacing steady") to reduce drift.
- Iterate with single-change follow-ups.
More principles: references/prompting.md. Copy/paste specs: references/sample-prompts.md.
Guidance by use case
Use these modules when the request is for a specific delivery style. They provide targeted defaults and templates.
- Narration / explainer:
references/narration.md - Product demo / voiceover:
references/voiceover.md - IVR / phone prompts:
references/ivr.md - Accessibility reads:
references/accessibility.md
CLI + environment notes
- CLI commands + examples:
references/cli.md - API parameter quick reference:
references/audio-api.md - Instruction patterns + examples:
references/voice-directions.md - If network approvals / sandbox settings are getting in the way:
references/codex-network.md
Reference map
references/cli.md: how to run speech generation/batches viascripts/text_to_speech.py(commands, flags, recipes).references/audio-api.md: API parameters, limits, voice list.references/voice-directions.md: instruction patterns and examples.references/prompting.md: instruction best practices (structure, constraints, iteration patterns).references/sample-prompts.md: copy/paste instruction recipes (examples only; no extra theory).references/narration.md: templates + defaults for narration and explainers.references/voiceover.md: templates + defaults for product demo voiceovers.references/ivr.md: templates + defaults for IVR/phone prompts.references/accessibility.md: templates + defaults for accessibility reads.references/codex-network.md: environment/sandbox/network-approval troubleshooting.
常见问题
- 默认用哪个模型和音色?
- 默认 gpt-4o-mini-tts-2025-12-15 搭配内置音色 cedar;想要更明亮的音色可以改用 marin,也可以指定其他模型。
- 能克隆或创建自定义音色吗?
- 不能。只支持内置音色,自定义音色创建不在这个技能的范围内。
- 运行前需要准备什么?
- 需要 openai Python 包(推荐用 uv 安装)以及环境变量 OPENAI_API_KEY。技能会引导你去 OpenAI 平台创建密钥并在本地设置,不会要求你在对话里粘贴完整密钥。
- 长文本和大量任务怎么处理?
- 超过 4096 字符的文本会被切分成多段,请求速率限制为每分钟 50 次。批量任务写入 tmp/speech/ 下的临时 JSONL,执行一次后删除。
相关技能
以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。
docx
官方用脚本和 XML 创建、编辑、读取并校验 Word 的 .docx 与 .dotx 文件。
用 Python 库和命令行工具读取、提取、合并、拆分、旋转、加水印、加密和生成 PDF。
搭建、重构和排查由 MCP 服务器加 widget 界面组成的 ChatGPT Apps SDK 应用。
用已发布的设计系统组件、变量和样式,把代码或描述转成完整的 Figma 页面并持续更新。
OpenAI 的更多技能
浏览全部技能搭建、重构和排查由 MCP 服务器加 widget 界面组成的 ChatGPT Apps SDK 应用。
用已发布的设计系统组件、变量和样式,把代码或描述转成完整的 Figma 页面并持续更新。
把代码库里的设计系统按阶段搬进 Figma,每个阶段停下来等你确认。
在 Figma 文件里通过 Plugin API 执行 JavaScript,并避开那些让脚本报错的坑。
把概念、品牌线索或参考图做成经过校验的 8x9 动画 Codex 宠物图集。
imagegen
官方在编码项目里生成或编辑位图图像,把需求整理成结构化提示词,并把成品保存进工作区。