Skip to content

文本生成音频

POST
/v1/audio/speech

Authorizations

bearer
TypeHTTP (bearer)

Request Body

application/json
JSON
{
"model": "string",
"input": "string",
"instructions": "string",
"voice": "ash",
"response_format": "mp3",
"speed": 1
}

Responses

OK

application/octet-stream

Playground

Authorization
Body

Samples