Back to Firebase Js Sdk

VoiceConfig interface

docs-devsite/ai.voiceconfig.md

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

VoiceConfig 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 the voice to used in speech synthesis.

<b>Signature:</b>

typescript
export interface VoiceConfig 

Properties

PropertyTypeDescription
prebuiltVoiceConfigPrebuiltVoiceConfig<b><i>(Public Preview)</i></b> 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.

<b>Signature:</b>

typescript
prebuiltVoiceConfig?: PrebuiltVoiceConfig;