Class: Google::Cloud::TextToSpeech::V1beta1::StreamingSynthesisInput
- Inherits:
-
Object
- Object
- Google::Cloud::TextToSpeech::V1beta1::StreamingSynthesisInput
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb
Overview
Input to be synthesized.
Instance Attribute Summary collapse
-
#markup ⇒ ::String
Markup for HD voices specifically.
-
#multi_speaker_markup ⇒ ::Google::Cloud::TextToSpeech::V1beta1::MultiSpeakerMarkup
Multi-speaker markup for Gemini TTS.
-
#prompt ⇒ ::String
This is system instruction supported only for controllable voice models.
-
#text ⇒ ::String
The raw text to be synthesized.
Instance Attribute Details
#markup ⇒ ::String
Returns 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.
516 517 518 519 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 516 class StreamingSynthesisInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#multi_speaker_markup ⇒ ::Google::Cloud::TextToSpeech::V1beta1::MultiSpeakerMarkup
Returns 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.
516 517 518 519 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 516 class StreamingSynthesisInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#prompt ⇒ ::String
Returns This is system instruction supported only for controllable voice models.
516 517 518 519 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 516 class StreamingSynthesisInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text ⇒ ::String
Returns 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.
516 517 518 519 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 516 class StreamingSynthesisInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |