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 %}
# SpeakerVoiceConfig 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 a single speaker's voice.
Signature:
```typescript
export interface SpeakerVoiceConfig
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [speaker](./ai.speakervoiceconfig.md#speakervoiceconfigspeaker) | string | (Public Preview) The name of the speaker to use (same as in prompt). |
| [voiceConfig](./ai.speakervoiceconfig.md#speakervoiceconfigvoiceconfig) | [VoiceConfig](./ai.voiceconfig.md#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:
```typescript
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:
```typescript
voiceConfig: VoiceConfig;
```