Class: Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb

Overview

Input to be synthesized.

Instance Attribute Summary collapse

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.

Returns:

  • (::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.



478
479
480
481
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 478

class StreamingSynthesisInput
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#multi_speaker_markup::Google::Cloud::TextToSpeech::V1::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.

Returns:

  • (::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.



478
479
480
481
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 478

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.

Returns:

  • (::String)

    This is system instruction supported only for controllable voice models.



478
479
480
481
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 478

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.

Returns:

  • (::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.



478
479
480
481
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 478

class StreamingSynthesisInput
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end