元曜星辰 Docs
OpenAI

语音合成(TTS)

POST
/openai/audio/speech

授权

授权Bearer <token>

位置: header

请求主体

application/json

TypeScript 定义

在 TypeScript 中使用 request body 类型。

响应主体

audio/mpeg

curl -X POST "https://example.com/openai/audio/speech" \  -H "Content-Type: application/json" \  -d '{    "model": "string",    "input": "string",    "voice": "alloy"  }'
null