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

x/openai/resources/audio/transcriptions.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.66.1/resources/audio/transcriptions.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>