Skip to content

文本生成音频

POST
/v1/audio/speech

Authorizations

bearer
TypeHTTP (bearer)

Request Body

JSON
{
"model": "string",
"input": "string",
"instructions": "string",
"voice": "ash",
"response_format": "string",
"speed": 1
}

Responses

OK
application/octet-stream
JSON
"string"

Playground

Authorization
Body
JSON

Samples