RealtimeTtsEvent

sealed interface RealtimeTtsEvent(source)

Event emitted by a RealtimeTtsSession.

Inheritors

Types

Link copied to clipboard
data class Audio(val bytes: ByteArray, val alignment: RealtimeTtsAlignment? = null, val normalizedAlignment: RealtimeTtsAlignment? = null) : RealtimeTtsEvent

A generated audio chunk

Link copied to clipboard

The server has completed generation and no more events will be emitted.