> 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 the voice to be used for speech synthesis.

**Signature:**

    export interface VoiceConfig 

## Properties

| Property | Type | Description |
|---|---|---|
| [prebuiltVoiceConfig](https://firebase.google.com/docs/reference/js/ai.voiceconfig#voiceconfigprebuiltvoiceconfig) | [PrebuiltVoiceConfig](https://firebase.google.com/docs/reference/js/ai.prebuiltvoiceconfig#prebuiltvoiceconfig_interface) | ***(Public Preview)*** Configures the voice using a pre-built voice configuration. |

## VoiceConfig.prebuiltVoiceConfig

> 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 using a pre-built voice configuration.

**Signature:**

    prebuiltVoiceConfig?: PrebuiltVoiceConfig;