Create Speech
Create speech
POST https://api.openai.com/v1/audio/speech
Generates audio from the input text.
Request body
file
•fileThe language of the input audio. Supplying the input language in ISO-639-1 format will improve accuracy and latency.
model
•stringThe audio file object (not file name) to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.
Request example
const val = 1
Response
{
"text": "Imagine the wildest idea that you've ever had, and you're curious about how it might scale to something that's a 100, a 1,000 times bigger. This is a place where you can get to do that."
}