Interface SpeechConfig

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

The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with voice_config.

voiceConfig?: VoiceConfig

Configuration for the voice of the response.