Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface CreateSpeechRawRequest
import { type CreateSpeechRawRequest } from "https://deno.land/x/openai_deno@v0.9.8/src/types/audio.ts";

Properties

model: "tts-1" | "tts-1-hd" | string
input: string
voice:
| "alloy"
| "echo"
| "fable"
| "onyx"
| "nova"
| "shimmer"
| string
optional
response_format:
| "mp3"
| "opus"
| "aac"
| "flac"
| string
optional
speed: number