Contains text input to be synthesized. Either text or ssml must be
supplied. Supplying both or neither returns
google.rpc.Code.INVALID_ARGUMENT. The
input size is limited to 5000 bytes.
Protobuf type google.cloud.texttospeech.v1.SynthesisInput
Optional. The pronunciation customizations are applied to the input. If
this is set, the input is synthesized using the given pronunciation
customizations.
The initial support is for en-us, with plans to expand to other locales in
the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact
match of the phrase in the input types. If using SSML, the phrase must not
be inside a phoneme tag.
Optional. The pronunciation customizations are applied to the input. If
this is set, the input is synthesized using the given pronunciation
customizations.
The initial support is for en-us, with plans to expand to other locales in
the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact
match of the phrase in the input types. If using SSML, the phrase must not
be inside a phoneme tag.
The SSML document to be synthesized. The SSML document must be valid
and well-formed. Otherwise the RPC will fail and return
google.rpc.Code.INVALID_ARGUMENT. For
more information, see
SSML.
The SSML document to be synthesized. The SSML document must be valid
and well-formed. Otherwise the RPC will fail and return
google.rpc.Code.INVALID_ARGUMENT. For
more information, see
SSML.
Optional. The pronunciation customizations are applied to the input. If
this is set, the input is synthesized using the given pronunciation
customizations.
The initial support is for en-us, with plans to expand to other locales in
the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact
match of the phrase in the input types. If using SSML, the phrase must not
be inside a phoneme tag.
The SSML document to be synthesized. The SSML document must be valid
and well-formed. Otherwise the RPC will fail and return
google.rpc.Code.INVALID_ARGUMENT. For
more information, see
SSML.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,[]]