Create speech
audio.speech.create(**kwargs) -> StringIO
POST/audio/speech
Generates audio from the input text.
Returns the audio file content, or a stream of audio events.
Create speech
require "openai"
openai = OpenAI::Client.new(api_key: "My API Key")
speech = openai.audio.speech.create(input: "input", model: :"tts-1", voice: "string")
puts(speech)