Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Body Params application/jsonRequired
{
"model": "tts-1",
"input": "string",
"voice": "alloy",
"response_format": "mp3",
"speed": 1
}
Request Code Samples
curl --location '/v1/audio/speech' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "tts-1",
"input": "string",
"voice": "alloy",
"response_format": "mp3",
"speed": 1
}'
Responses
Audio generated successfully
Modified at 2026-05-23 05:25:06