> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Configuration for speech synthesis with multiple speakers.

**Signature:**

    export interface MultiSpeakerSpeechConfig extends BaseSpeechConfig 

**Extends:** [BaseSpeechConfig](https://firebase.google.com/docs/reference/js/ai.basespeechconfig#basespeechconfig_interface)

## Properties

| Property | Type | Description |
|---|---|---|
| [multiSpeakerVoiceConfig](https://firebase.google.com/docs/reference/js/ai.multispeakerspeechconfig#multispeakerspeechconfigmultispeakervoiceconfig) | [MultiSpeakerVoiceConfig](https://firebase.google.com/docs/reference/js/ai.multispeakervoiceconfig#multispeakervoiceconfig_interface) | ***(Public Preview)*** Configuration for multi-speaker setup. |
| [voiceConfig](https://firebase.google.com/docs/reference/js/ai.multispeakerspeechconfig#multispeakerspeechconfigvoiceconfig) | never | ***(Public Preview)*** Single-speaker voice configuration must not be set when using multiple speakers. |

## MultiSpeakerSpeechConfig.multiSpeakerVoiceConfig

> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Configuration for multi-speaker setup.

**Signature:**

    multiSpeakerVoiceConfig?: MultiSpeakerVoiceConfig;

## MultiSpeakerSpeechConfig.voiceConfig

> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Single-speaker voice configuration must not be set when using multiple speakers.

**Signature:**

    voiceConfig?: never;