SpeakerVoiceConfig

@Serializable
data class SpeakerVoiceConfig(val speaker: String? = null, val voiceConfig: VoiceConfig? = null)

Configuration for a single speaker in a multi-speaker setup.

Constructors

Link copied to clipboard
constructor(speaker: String? = null, voiceConfig: VoiceConfig? = null)

Properties

Link copied to clipboard
val speaker: String? = null

Required. The name of the speaker. This should be the same as the speaker name used in the prompt.

Link copied to clipboard

Required. The configuration for the voice of this speaker.