OpenAI 出品音频

GPT-Realtime-2.1

生成语音与文字,支持音色选择和推理设置

  • 10 种音色
GPT-Realtime-2.1

什么是 GPT-Realtime-2.1?

GPT-Realtime-2.1 是 OpenAI 的实时语音模型:它会先推理你的问题,再直接开口作答。在 PopNow 上,提交一条提示词即可返回一段 WAV 语音回答与对应的文字稿;实时麦克风对话则走 Realtime WebSocket。文本转语音照着你的字念,而它自己组织措辞再说出来。

在 PopNow 上适合用于: 在正式接入实时接口之前,先听听语音助手、导览员或电话礼宾面对真实提问会怎么开口回答。

适合用来

  • 开发前试听语音助手的真实回答效果
  • 按指定长度作答的导览员与礼宾语音
  • 需要先推理再开口的语音讲解

GPT-Realtime-2.1 擅长什么

先组织回答,再开口说出

你只管设定场景和问题,怎么答由模型决定。让它扮演海事博物馆讲解员回答「1906 年沉船的铜钟为何至今发亮」,它用三句话讲清了养护工序与底层的青铜材质,语音时长 19.9 秒。

五档推理强度(minimal 到 xhigh)

五个档位控制开口前思考多深。推理同样计入输出 token,因此高档位单次费用更高,也会吃掉更多 max_tokens 额度(默认 512)。我们两组实测都只用了 low。

十种音色,语速可调

提供 alloy、ash、ballad、coral、echo、sage、shimmer、verse、marin 和 cedar 十款音色,语速 0.25 到 1.5 可调。博物馆回答用了 marin,礼宾建议用了 cedar,均为标准语速。

GPT-Realtime-2.1 真实案例

转写文本

It’s shiny because museum conservators have carefully cleaned and stabilized it, removing corrosion and sealing the surface to slow further damage. Underneath that, it’s likely a copper alloy like bronze, which polishes up beautifully and holds a bright, warm glow when cared for. So you’re seeing both the original material and a lot of patient conservation work.

实时语音
转写文本

Totally doable, and you’ll feel much better for it. First, get daylight early—go for a gentle walk outside, because sunlight really helps reset your body clock. Next, keep naps short, like 20 minutes max, or skip them if you can. And stay hydrated, eat light meals, and save caffeine for the late morning so you don’t crash. You’ve got this.

实时语音

GPT-Realtime-2.1 的实测提示词

It’s shiny because museum conservators have carefully cleaned and stabilized it, removing corrosion and sealing the surface to slow further damage. Underneath that, it’s likely a copper alloy like bronze, which polishes up beautifully and holds a bright, warm glow when cared for. So you’re seeing both the original material and a lot of patient conservation work.

You are the audio guide at a small maritime museum. A visitor has stopped at a ship's bell recovered from a 1906 wreck and asks: why does it still look so shiny? Answer out loud in two or three friendly sentences.

提示词交代了角色身份、带年份的展品以及句数要求。回答稳稳收在三句话、19.9 秒内,把观众最关心的养护和合金两点全讲到了。想控制口播长度,直接写明句数就非常管用。

做同款

Totally doable, and you’ll feel much better for it. First, get daylight early—go for a gentle walk outside, because sunlight really helps reset your body clock. Next, keep naps short, like 20 minutes max, or skip them if you can. And stay hydrated, eat light meals, and save caffeine for the late morning so you don’t crash. You’ve got this.

You are a calm hotel concierge on the phone. The guest says: I land in Tokyo at six in the morning after a fourteen-hour flight. How do I stay awake until the evening? Answer in about twenty seconds, with two or three concrete tips.

这次改按秒数提要求——约二十秒——实际输出 19.6 秒。它给出了实打实的操作建议:白天出门散步、小睡控制在 20 分钟以内、咖啡留到上午晚些时候再喝。

做同款

GPT-Realtime-2.1 能做什么

在 PopNow 上如何使用 GPT-Realtime-2.1

预先打磨语音助手话术

把助手最高频的问题拿来这里跑一遍,既听嗓音又看文字稿,确认满意再写实时接入代码。

打开

让出镜人开口回答问题

先在这里生成语音回答,再把 WAV 传进 对口型,做出开口作答的人物短片。

打开

GPT-Realtime-2.1 提示词怎么写

  1. 在提示词里写清角色、问题和期望长度。
  2. 推理强度先从 low 起步,答不到点子上再往上调。
  3. 选 high 或 xhigh 时,记得把 max_tokens 留足空间。

值得了解的设置

音色10
从可用音色里挑一个。
语速0.25–1.5
语速。
格式pcm · g711_ulaw · g711_alaw
结果的文件格式。

如何选择同类模型

GPT-Realtime-2.1 Mini 共享全部音色与参数,token 费率只有十分之一。需要更深入推理的回答再选 2.1。

GPT-Realtime-2.1 的局限

  • 单次请求只给一轮回答。网页端不支持对着麦克风来回对话,双工实时会话需要接入 Realtime WebSocket。
  • 你能把关措辞,却不能逐字下达。同一个博物馆问题换给 GPT-Realtime-2.1 Mini,讲法就不同——每条回答上线前都要当草稿审一遍。
  • max_tokens 同时涵盖推理、文本和音频。高推理档(high 或 xhigh)撞上长回答和偏低上限时很容易中途截断;记得调高上限或调低档位。提示词本身上限为 4,096 字符。

三步开始使用 GPT-Realtime-2.1

  1. 在音频工作台进入实时语音,选择 GPT-Realtime-2.1。
  2. 写明角色、问题和期望长度,选定音色与推理档位。
  3. 生成后既听 WAV 又读返回文字稿,确认妥当再投入使用。

关于 GPT-Realtime-2.1 的常见问题

GPT-Realtime-2.1 是文本转语音模型吗?

不是。文本转语音照你的稿子逐字朗读;GPT-Realtime-2.1 自己组织语言回答你的提示词并开口说出,同时返回文字稿。

我能直接对着麦克风和它聊天吗?

实时麦克风通话需通过 Realtime WebSocket 接入(支持 24 kHz PCM 或 8 kHz G.711 音频)。在 PopNow 网页提交文本提示词会返回单轮语音回答。

怎么控制它回答的长短?

直接写在提示词里。我们实测写「两三句话」返回了 19.9 秒,写「大约二十秒」返回了 19.6 秒;max_tokens 负责设硬上限。

选 GPT-Realtime-2.1 还是 GPT-Realtime-2.1 Mini?

两者参数完全一致,Mini 的单 token 费率只有 2.1 的十分之一。同一个博物馆问题,2.1 答了 19.9 秒并先讲文物养护,Mini 答了 16.5 秒、开门见山先讲青铜材质。

GPT-Realtime-2.1 怎么计费?

按 token 计费(每 1,000 token 计价),推理部分也计入输出。回答越长或推理档位越高,消耗越多。

GPT-Realtime-2.1 免费吗?

不免费,按次计费;生成前按钮上会显示费用。

GPT-Realtime-2.1 还是 GPT-Realtime-2.1 Mini?

GPT-Realtime-2.1 Mini 共享全部音色与参数,token 费率只有十分之一。需要更深入推理的回答再选 2.1。

在开发应用?查看 GPT-Realtime-2.1 API

用 GPT-Realtime-2.1 做点什么

照真实用户开口的口吻写下情境,让 GPT-Realtime-2.1 替你拿捏怎么回答。