import { type SpeechCreateParams } from "https://deno.land/x/openai@v4.21.0/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
.
The format to audio in. Supported formats are mp3
, opus
, aac
, and flac
.