speech

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

Generates audio from the input text.

Parameters

request

speech request.

requestOptions

request options.