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

Properties

optional
responseFormat:
| "mp3"
| "opus"
| "aac"
| "flac"
| string

The format to audio in. Supported formats are mp3, opus, aac, and flac.

optional
speed: number

The speed of the generated audio. Select a value from 0.25 to 4.0. 1.0 is the default.