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

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

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

Methods

create(body: TranscriptionCreateParams<"json" | undefined>, options?: Core.RequestOptions): Core.APIPromise<Transcription>

Transcribes audio into the input language.

create(body: TranscriptionCreateParams<"verbose_json">, options?: Core.RequestOptions): Core.APIPromise<TranscriptionVerbose>
create(body: TranscriptionCreateParams<"srt" | "vtt" | "text">, options?: Core.RequestOptions): Core.APIPromise<string>
create(body: TranscriptionCreateParams, options?: Core.RequestOptions): Core.APIPromise<Transcription>