Skip to main content
POST
Create speech
将文本转换为语音。部分语音能力可能需要使用 api-s1 系列端点。

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required
input
string
required
voice
string
required
format
enum<string>
default:mp3
Available options:
mp3,
wav,
opus,
flac

Response

Audio response

The response is of type file.