openai/skills

speech

保留文案原文,生成可检查的语音文件

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

speech 是什么?

把给定文本生成旁白、产品配音、辅助阅读或批量语音文件,使用OpenAI Audio API和附带text_to_speech.py。它保留输入原文,把语速、语气和发音要求整理成简短指令,生成后再听检。

中文说明由本站依据来源整理;英文原文保留在页面下方。

适合用在

  • 要把已确定的文本制作成旁白、配音、辅助阅读音频或批量语音文件,并能够配置 OpenAI Audio API 调用所需凭证。

这些情况不适合

  • 需要创建自定义音色或克隆声音;来源明确将这些能力排除在范围之外。
按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 speech,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 speech

请在 Codex 的当前工作环境中安装并检查 speech 这个 Skill。

项目身份:openai/skills / speech
来源:https://github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179651397431/skills/.curated/speech/SKILL.md
已定位的源文件:skills/.curated/speech/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 提供逐字文案、内置音色、表达风格、格式及输出位置;Python openai包和OPENAI_API_KEY用于真实API调用。

会得到什么

  • 最终音频文件及其文案和生成参数;批量任务分别报告成功与失败。

实际使用顺序

  1. 判断单条还是批量,批量时用每行一任务的JSONL;整理语气与发音要求,但不重写输入文本。
  2. 读取附带CLI参数资料,使用text_to_speech.py生成;按该版本每请求不超过4096字符、CLI每分钟请求上限50的约束拆分,实际平台限制仍需核对。
  3. 重要音频逐条听检清晰度、语速、发音和停顿,一轮只改一个因素;交付文件和最后采用的文案、指令与参数。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学示例:用speech把“欢迎来到本次演示。接下来介绍三个主要功能。”生成一条中文产品演示旁白,采用当前可用的内置音色,语气平稳清楚,保存为output/speech/demo.mp3。原文字句不改,先检查API凭证和实际支持参数;生成后听检,未能听检需说明,注明AI生成。
预期结果

预期得到对应文案的音频与检查状态;本站未调用API执行。

使用前先看这些限制

使用条件与边界

  • 本Skill不支持自定义音色创建或声音克隆;源文件的默认模型与内置音色是绑定版本记录,使用时核对当前可用性。
针对这个 Skill 的疑问

常见问题

能复制某个人的声音吗?

该来源明确限于内置音色,自定义声音创建不在范围内。

文字很长怎么办?

依源版本按请求长度拆段,并关注段落衔接和输出顺序,不能把整篇长文直接塞入一个请求。

需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

skills/.curated/speech/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

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.

查看源文件章节 / Source sections
  • 原文:Speech Generation Skill
  • 原文:When to use
  • 原文:Decision tree (single vs batch)
  • 工作流程 / Workflow
  • 原文:Temp and output conventions
  • 原文:Dependencies (install if missing)
  • 原文:Environment
  • 原文:Defaults & rules
  • 原文:Instruction augmentation
  • 示例 / Examples
  • 原文:Single example (narration)
  • 原文:Batch example (IVR prompts)
  • 原文:Instructioning best practices (short list)
  • 原文:Guidance by use case
  • 原文:CLI + environment notes
  • 原文:Reference map
原文: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

1. Decide intent: single vs batch (see decision tree above). 2. Collect inputs up front: exact text (verbatim), desired voice, delivery style, format, and any constraints. 3. If batch: write a temporary JSONL under tmp/ (one job per line), run once, then delete the JSONL. 4. Augment instructions into a short labeled spec without rewriting the input text. 5. Run the bundled CLI (`scripts/text_to_speech.py`) with sensible defaults (see references/cli.md). 6. For important clips, validate: intelligibility, pacing, pronunciation, and adherence to constraints. 7. Iterate with a single targeted change (voice, speed, or instructions), then re-check. 8. 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 `--out` or `--out-dir` to 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 ```

文件 SHA256:d6120efc03ea0e80204f687801cfaec8efc4519a3430b68e13e4ebd8e1c69b52

仓库许可证记录:未提供;not-established,查看来源。

SKILL.md原文description · 2026-11-16T12:36:35.145Z

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.

查看历史简介来源

历史收录数据

来源仓库openai/skills
Skill源路径skills/.curated/speech/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源