import { Translations } from "https://deno.land/x/openai@v4.69.0/resources/audio/mod.ts";
import { Translations } from "https://deno.land/x/openai@v4.69.0/resources/audio/mod.ts";
Methods
create(body: TranslationCreateParams<"json" | undefined>, options?: Core.RequestOptions): Core.APIPromise<Translation>
Translates audio into English.
create(body: TranslationCreateParams<"verbose_json">, options?: Core.RequestOptions): Core.APIPromise<TranslationVerbose>
create(body: TranslationCreateParams<"text" | "srt" | "vtt">, options?: Core.RequestOptions): Core.APIPromise<string>
create(body: TranslationCreateParams, options?: Core.RequestOptions): Core.APIPromise<Translation>