Audio
Generates audio from the input text.
Changed onpost/openai/v1/audio/speech
Request
- Base URLhttps://api.groq.com
- URLhttps://api.groq.com/openai/v1/audio/speech
- AuthHTTP bearer
Request body
Example request
{
"input": "The quick brown fox jumped over the lazy dog",
"voice": "Fritz-PlayAI",
"sample_rate": 48000,
"speed": 1
}Response
OK
Changes
- info
added the new optional request property
- info
the
request property default value changed fromwavtomp3 - info
added the new
flacenum value to the request property - info
added the new
mulawenum value to the request property - info
added the new
oggenum value to the request property - info
the
request property's max was increased from1.00to5.00 - info
the
request property's min was decreased from1.00to0.50
- info
- info
added
subschema #2to therequest propertyanyOflist
- info