Skip to content

OpenAI.AudioTranslation.Create

Andrew Lambert edited this page Mar 6, 2023 · 1 revision

Method signatures

 Shared Function Create(Request As OpenAI.Request) As OpenAI.AudioTranslation
 Shared Function Create(AudioFile As FolderItem, Prompt As String = "", FileMIMEType As String = "") As OpenAI.AudioTranslation

Parameters

Create(OpenAI.Request)

Name Type Comment
Request Request An OpenAI request object.

Create(FolderItem, String, String)

Name Type Comment
AudioFile FolderItem The media file to translate.
Prompt String Optional. A prompt to hint the AI about how to interpret the AudioFile.
FileMIMEType String Optional. Specifies the MIMEtype of the AudioFile.

Return value

Returns a new instance of OpenAI.AudioTranslation containing the response to the request.

See also

Clone this wiki locally