Interface SpeechConfig

The speech generation config.

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

Properties

languageCode?: string

Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.

multiSpeakerVoiceConfig?: MultiSpeakerVoiceConfig

Optional. The configuration for the multi-speaker setup. It is mutually exclusive with the voice_config field. This field is not supported in Vertex AI.

voiceConfig?: VoiceConfig

The configuration for the speaker to use.