Interface SpeechConfig

The speech generation configuration.

interface SpeechConfig {
    languageCode?: string;
    multiSpeakerVoiceConfig?: MultiSpeakerVoiceConfig;
    voiceConfig?: VoiceConfig;
}

Properties

languageCode?: string

Language code (ISO 639. e.g. en-US) for the speech synthesization. Only available for Live API.

multiSpeakerVoiceConfig?: MultiSpeakerVoiceConfig

The configuration for the multi-speaker setup. It is mutually exclusive with the voice_config field.

voiceConfig?: VoiceConfig

The configuration for the speaker to use.