import { OpenAI } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";
Generates audio from the input text.
Parameters
One of the available TTS models: tts-1
or tts-1-hd
The voice to use when generating the audio. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
optional
params: CreateSpeechParamsOptional parameters for the API.