Interface SpeechConfig

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

Properties

languageCode?: string

Optional. The language code (ISO 639-1) for the speech synthesis.

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.