Back to Firebase Js Sdk

PrebuiltVoiceConfig interface

docs-devsite/ai.prebuiltvoiceconfig.md

12.12.11.4 KB
Original Source

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 %}

PrebuiltVoiceConfig 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 pre-built voice.

<b>Signature:</b>

typescript
export interface PrebuiltVoiceConfig 

Properties

PropertyTypeDescription
voiceNamestring<b><i>(Public Preview)</i></b> The voice name to use for speech synthesis.<!-- -->For a full list of names and demos of what each voice sounds like, see Chirp 3: HD Voices<!-- -->.

PrebuiltVoiceConfig.voiceName

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 voice name to use for speech synthesis.

For a full list of names and demos of what each voice sounds like, see Chirp 3: HD Voices<!-- -->.

<b>Signature:</b>

typescript
voiceName?: string;