Back

create-speech (clj)

(source)

function

(create-speech params) (create-speech params options)
Creates audio from text. Example: ``` (create-speech {:model "tts-1" :input "Hello! Nice to meet you!." :voice "alloy" :response_format "mp3"}) ``` Also see the [OpenAI documentation](https://platform.openai.com/docs/api-reference/audio/createSpeech)

Examples