创建语音 gpt-4o-mini-tts
概览
- 方法: POST
- 地址: https://api.winfull.cloud-ip.cc/v1/audio/speech
- 简介: 官方文档:https://platform.openai.com/docs/guides/text-to-speech
认证
- Header: Authorization: Bearer
<token>
请求参数
- Header: Authorization: Bearer
<token> - Body 类型: application/json
{
"model": "gpt-4o-mini-tts",
"input": "The quick brown fox jumped over the lazy dog.",
"voice": "alloy"
}请求示例
curl --location --request POST 'https://api.winfull.cloud-ip.cc/v1/audio/speech' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-4o-mini-tts",
"input": "The quick brown fox jumped over the lazy dog.",
"voice": "alloy"
}'返回示例
🟢200成功 示例
{}最后更新:2025-08-29 04:07:29
