返回模型列表
TTS-1
openaiopenai/tts-1
媒体生成能力
tts
- output_formats
- mp3
- opus
- aac
- flac
- voices
- alloy
- echo
- fable
- onyx
- nova
- shimmer
- defaults
- voice
- alloy
API 使用指南
语音生成(v1/audio/speech)
cURL
curl https://api.therouter.ai/v1/audio/speech \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/tts-1",
"input": "The quick brown fox jumped over the lazy dog.",
"voice": "alloy"
}' \
--output speech.mp3实时音频流式传输(PCM)
cURL
curl https://api.therouter.ai/v1/audio/speech \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/tts-1",
"input": "Hello, this is a streaming TTS demo.",
"voice": "nova",
"response_format": "pcm"
}' | ffplay -f s16le -ar 24000 -ac 1 -i -事实档案 — 本页每条断言可在此回溯来源
| 来源 | URL | 采集于 | |
|---|---|---|---|
| 发布日期 | openai.com ↗ | 2026-06-03 | 已核实 |
| 定价 | openai.com/api/pricing ↗ | 2026-06-03 | 已核实 |
| 最大输入长度 | platform.openai.com ↗ | 2026-06-03 | 已核实 |
| 支持的语音 | platform.openai.com ↗ | 2026-06-03 | 已核实 |
| 输出格式 | platform.openai.com ↗ | 2026-06-03 | 已核实 |
| 语速控制 | platform.openai.com ↗ | 2026-06-03 | 已核实 |
| 速率限制(Tier 1) | platform.openai.com ↗ | 2026-06-03 | 已核实 |
| 指令跟随(语音风格控制) | platform.openai.com ↗ | 2026-06-03 | 已核实 |
| 训练数据截止 | — | — | 未知 |
| 许可 | openai.com/policies ↗ | 2026-06-03 | 已核实 |
| Relative latency vs TTS-1 HD | platform.openai.com ↗ | 2026-06-03 | 已核实 |
| OpenAI 发布 gpt-4o-mini-tts,支持语音 Agent 指令跟随 | openai.com ↗ | 2026-06-03 | 已核实 |
| OpenAI TTS 语音登陆 Azure OpenAI 服务 | techcommunity.microsoft.com ↗ | 2026-06-03 | 已核实 |
| TTS-1 和 TTS-1 HD 有什么区别? | platform.openai.com ↗ | 2026-06-03 | 待核实 |
| 我应该从 TTS-1 迁移到 gpt-4o-mini-tts 吗? | platform.openai.com ↗ | 2026-06-03 | 待核实 |
| 如何通过 TheRouter 使用 TTS-1? | platform.openai.com ↗ | 2026-06-03 | 待核实 |
| 有哪些可用语音?我能使用自定义语音吗? | platform.openai.com ↗ | 2026-06-03 | 待核实 |