Class: AiAudioClient
Methods
createSpeech
▸ createSpeech(input
, options
): Promise
<File
>
Parameters
Name | Type |
---|---|
input | string |
options | OpenAiCreateSpeechOptions |
Returns
Promise
<File
>
transcribe
▸ transcribe(file
, options?
): Promise
<string
>
Parameters
Name | Type |
---|---|
file | BlobAndFilename | File |
options | WhisperOptions |
Returns
Promise
<string
>