MultiSpeakerVoiceConfig

@Serializable
data class MultiSpeakerVoiceConfig(val speakerVoiceConfigs: List<SpeakerVoiceConfig>? = null)

Configuration for a multi-speaker text-to-speech request.

Constructors

Link copied to clipboard
constructor(speakerVoiceConfigs: List<SpeakerVoiceConfig>? = null)

Properties

Link copied to clipboard

Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.