Audio
Openai Audio Speech
Changed onpost/v1/audio/speech
Request
- Base URL: https://api.deepinfra.com
- URL: https://api.deepinfra.com/v1/audio/speech
- Auth: HTTP bearer
Headers
x-deepinfra-sourcestring nullable
xi-api-keystring nullable
x-api-keystring nullable
Request body
Example request
{
"model": "deepinfra/tts",
"input": "I'm beginnin' to feel like a Rap God, Rap God\nAll my people from the front to the back nod, back nod\nNow, who thinks their arms are long enough to slap box, slap box?\nThey said I rap like a robot, so call me Rap-bot",
"response_format": "mp3"
}Response
Successful Response
unknown required
Changes
- info
added the new optional request property
- info
- info
api tag
Audioadded - info
added the new optional
headerrequest parameterx-api-key - info
added the new
flexenum value to the request property/
- info