MultiSpeakerVoiceConfig

class MultiSpeakerVoiceConfig(val speakerVoiceConfigs: List<SpeakerVoiceConfig>)(source)

Configuration for a multi-speaker audio generation setup.

Enables the model to generate audio containing multiple distinct speakers, alternating voices dynamically based on speaker labels in the prompt.

Note: Multi-speaker configurations are not supported by the Live API (like LiveGenerationConfig).

Constructors

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

Properties

Link copied to clipboard

A list of voice configurations for the participating speakers.