Create speech
POST
https://api.cometapi.com/v1/audio/speech
Maintainer:Not configured
POST /v1/audio/speech
Request Body
model
(string): The model to be used for text-to-speech conversion.input
(string): The input text to be converted to speech.voice
(string): The voice to be used for the speech synthesis.{
"model": "tts-1",
"input": "The quick brown fox jumped over the lazy dog.",
"voice": "alloy"
}
Request
Header Params
Authorization
string
required
Example:
Bearer {{api-key}}
Body Params application/json