> 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 a single speaker's voice.

**Signature:**

    export interface SpeakerVoiceConfig 

## Properties

| Property | Type | Description |
|---|---|---|
| [speaker](https://firebase.google.com/docs/reference/js/ai.speakervoiceconfig#speakervoiceconfigspeaker) | string | ***(Public Preview)*** The name of the speaker to use (same as in prompt). |
| [voiceConfig](https://firebase.google.com/docs/reference/js/ai.speakervoiceconfig#speakervoiceconfigvoiceconfig) | [VoiceConfig](https://firebase.google.com/docs/reference/js/ai.voiceconfig#voiceconfig_interface) | ***(Public Preview)*** The configuration for the voice to use. |

## SpeakerVoiceConfig.speaker

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

The name of the speaker to use (same as in prompt).

**Signature:**

    speaker: string;

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

The configuration for the voice to use.

**Signature:**

    voiceConfig: VoiceConfig;