Audio

interface Audio

Learn how to turn audio into text.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun speech(request: SpeechRequest, requestOptions: RequestOptions? = null): ByteArray

Generates audio from the input text.

Link copied to clipboard
abstract suspend fun transcription(request: TranscriptionRequest, requestOptions: RequestOptions? = null): Transcription

Transcribes audio into the input language.

Link copied to clipboard
abstract suspend fun translation(request: TranslationRequest, requestOptions: RequestOptions? = null): Translation

Translates audio into English.