import { type SpeechCreateParams } from "https://deno.land/x/openai@v4.24.7/resources/audio/speech.ts";
Properties
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
. Previews of the voices are
available in the
Text to speech guide.
The format to audio in. Supported formats are mp3
, opus
, aac
, and flac
.