PrebuiltVoiceConfig interface
Stay organized with collections
Save and categorize content based on your preferences.
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.
Signature:
export interface PrebuiltVoiceConfig
Properties
Property |
Type |
Description |
voiceName |
string |
(Public Preview) 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.
Signature:
voiceName?: string;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[null,null,["Last updated 2025-08-28 UTC."],[],[],null,["\u003e 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.\n\nConfiguration for a pre-built voice.\n\n**Signature:** \n\n export interface PrebuiltVoiceConfig \n\nProperties\n\n| Property | Type | Description |\n|-----------------------------------------------------------------------|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [voiceName](./ai.prebuiltvoiceconfig.md#prebuiltvoiceconfigvoicename) | string | ***(Public Preview)*** 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](https://cloud.google.com/text-to-speech/docs/chirp3-hd). |\n\nPrebuiltVoiceConfig.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.\n\nThe voice name to use for speech synthesis.\n\nFor a full list of names and demos of what each voice sounds like, see [Chirp 3: HD Voices](https://cloud.google.com/text-to-speech/docs/chirp3-hd).\n\n**Signature:** \n\n voiceName?: string;"]]