<br />

Per-utterance synthesis overrides passed to `TextToSpeech.synthesize()` and `TextToSpeech.synthesizeStream()`.

**Signature:**

```typescript
export declare interface SynthesisOptions 
```

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [voiceId](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.synthesisoptions.md.txt#synthesisoptionsvoiceid) |   | string | Optional voice identifier override (e.g. "af_heart", "ef_dora"). |
| [locale](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.synthesisoptions.md.txt#synthesisoptionslocale) |   | string | Optional BCP-47 locale override (e.g. "en-US", "es-ES", "ja-JP"). |

## SynthesisOptions.voiceId

Optional voice identifier override (e.g. "af_heart", "ef_dora").

**Signature:**

```typescript
voiceId?: string;
```

## SynthesisOptions.locale

Optional BCP-47 locale override (e.g. "en-US", "es-ES", "ja-JP").

**Signature:**

```typescript
locale?: string;
```