Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/openai_deno/mod.ts>CreateSpeechRawRequest

OpenAI API wrapper for deno.
Latest
interface CreateSpeechRawRequest
Re-export
import { type CreateSpeechRawRequest } from "https://deno.land/x/openai_deno@v0.9.8/mod.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