> 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 for a single speaker.

**Signature:**

    export interface SingleSpeakerSpeechConfig 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.singlespeakerspeechconfig#singlespeakerspeechconfigmultispeakervoiceconfig) | never | ***(Public Preview)*** Multi-speaker configuration must not be set when using a single speaker. |
| [voiceConfig](https://firebase.google.com/docs/reference/js/ai.singlespeakerspeechconfig#singlespeakerspeechconfigvoiceconfig) | [VoiceConfig](https://firebase.google.com/docs/reference/js/ai.voiceconfig#voiceconfig_interface) | ***(Public Preview)*** Configures the voice to be used in speech synthesis. |

## SingleSpeakerSpeechConfig.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.

Multi-speaker configuration must not be set when using a single speaker.

**Signature:**

    multiSpeakerVoiceConfig?: never;

## SingleSpeakerSpeechConfig.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.

Configures the voice to be used in speech synthesis.

**Signature:**

    voiceConfig?: VoiceConfig;