Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference {% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %} # MultiSpeakerSpeechConfig interface > 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: ```typescript export interface MultiSpeakerSpeechConfig extends BaseSpeechConfig ``` Extends: [BaseSpeechConfig](./ai.basespeechconfig.md#basespeechconfig_interface) ## Properties | Property | Type | Description | | --- | --- | --- | | [multiSpeakerVoiceConfig](./ai.multispeakerspeechconfig.md#multispeakerspeechconfigmultispeakervoiceconfig) | [MultiSpeakerVoiceConfig](./ai.multispeakervoiceconfig.md#multispeakervoiceconfig_interface) | (Public Preview) Configuration for multi-speaker setup. | | [voiceConfig](./ai.multispeakerspeechconfig.md#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: ```typescript 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: ```typescript voiceConfig?: never; ```