import { Translations } from "https://deno.land/x/openai@v4.69.0/resources/audio/translations.ts";
class Translations
extends APIResource
import { Translations } from "https://deno.land/x/openai@v4.69.0/resources/audio/translations.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>