Converts text to spoken audio using OpenAI's TTS models.
Access via client$audio$speech.
new()SpeechClient$new(parent)
create()SpeechClient$create(
input,
model = "tts-1",
voice = "alloy",
response_format = NULL,
speed = NULL
)
clone()The objects of this class are cloneable with this method.
SpeechClient$clone(deep = FALSE)deepWhether to make a deep clone.