AI 模型接口音频(Audio)原生OpenAI格式
文本转语音
将文本转换为音频
Authorization
BearerAuth
AuthorizationBearer <token>
使用 Bearer Token 认证。
格式: Authorization: Bearer sk-xxxxxx
In: header
Request Body
application/json
Response Body
audio/mpeg
curl -X POST "https://token.rcsh5.cn/aigc/v1/audio/speech" \ -H "Content-Type: application/json" \ -d '{ "model": "tts-1", "input": "string", "voice": "alloy" }'"string"最后更新于