Reference documentation and code samples for the Cloud Text-to-Speech V1 API class Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput.
Input to be synthesized.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#markup
def markup() -> ::String
- (::String) — Markup for HD voices specifically. This field may not be used with any other voices.
Note: The following fields are mutually exclusive:
markup
,text
,multi_speaker_markup
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#markup=
def markup=(value) -> ::String
- value (::String) — Markup for HD voices specifically. This field may not be used with any other voices.
Note: The following fields are mutually exclusive:
markup
,text
,multi_speaker_markup
. If a field in that set is populated, all other fields in the set will automatically be cleared.
- (::String) — Markup for HD voices specifically. This field may not be used with any other voices.
Note: The following fields are mutually exclusive:
markup
,text
,multi_speaker_markup
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#multi_speaker_markup
def multi_speaker_markup() -> ::Google::Cloud::TextToSpeech::V1::MultiSpeakerMarkup
- (::Google::Cloud::TextToSpeech::V1::MultiSpeakerMarkup) — Multi-speaker markup for Gemini TTS. This field may not be used with any other voices.
Note: The following fields are mutually exclusive:
multi_speaker_markup
,text
,markup
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#multi_speaker_markup=
def multi_speaker_markup=(value) -> ::Google::Cloud::TextToSpeech::V1::MultiSpeakerMarkup
- value (::Google::Cloud::TextToSpeech::V1::MultiSpeakerMarkup) — Multi-speaker markup for Gemini TTS. This field may not be used with any other voices.
Note: The following fields are mutually exclusive:
multi_speaker_markup
,text
,markup
. If a field in that set is populated, all other fields in the set will automatically be cleared.
- (::Google::Cloud::TextToSpeech::V1::MultiSpeakerMarkup) — Multi-speaker markup for Gemini TTS. This field may not be used with any other voices.
Note: The following fields are mutually exclusive:
multi_speaker_markup
,text
,markup
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#prompt
def prompt() -> ::String
- (::String) — This is system instruction supported only for controllable voice models.
#prompt=
def prompt=(value) -> ::String
- value (::String) — This is system instruction supported only for controllable voice models.
- (::String) — This is system instruction supported only for controllable voice models.
#text
def text() -> ::String
- (::String) — The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, which results in better prosody in the output audio.
Note: The following fields are mutually exclusive:
text
,markup
,multi_speaker_markup
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text=
def text=(value) -> ::String
- value (::String) — The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, which results in better prosody in the output audio.
Note: The following fields are mutually exclusive:
text
,markup
,multi_speaker_markup
. If a field in that set is populated, all other fields in the set will automatically be cleared.
- (::String) — The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, which results in better prosody in the output audio.
Note: The following fields are mutually exclusive:
text
,markup
,multi_speaker_markup
. If a field in that set is populated, all other fields in the set will automatically be cleared.