Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/audio/mod.ts>Speech

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
namespace Speech
import { Speech } from "https://deno.land/x/openai@v4.33.1/resources/audio/mod.ts";
class Speech
extends APIResource
import { Speech } from "https://deno.land/x/openai@v4.33.1/resources/audio/mod.ts";

Methods

create(body: SpeechCreateParams, options?: Core.RequestOptions): Core.APIPromise<Response>

Generates audio from the input text.