Skip to content

Commit 844f202

Browse files
feat: Add string value prompt to SynthesisInput (#30942)
* feat: Add string value prompt to SynthesisInput PiperOrigin-RevId: 802688528 Source-Link: googleapis/googleapis@acdae9a Source-Link: googleapis/googleapis-gen@2118e2f Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLXRleHRfdG9fc3BlZWNoLXYxYmV0YTEvLk93bEJvdC55YW1sIiwiaCI6IjIxMThlMmYxNDAzYzE0N2YzOWJkMmI5YTIxZGU2NzMwODM5M2E3ZDcifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent d97a66d commit 844f202

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

  • google-cloud-text_to_speech-v1beta1

google-cloud-text_to_speech-v1beta1/lib/google/cloud/texttospeech/v1beta1/cloud_tts_pb.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-cloud-text_to_speech-v1beta1/proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ class Turn
222222
# multi-speaker synthesis.
223223
#
224224
# Note: The following fields are mutually exclusive: `multi_speaker_markup`, `text`, `markup`, `ssml`. If a field in that set is populated, all other fields in the set will automatically be cleared.
225+
# @!attribute [rw] prompt
226+
# @return [::String]
227+
# This system instruction is supported only for controllable/promptable voice
228+
# models. If this system instruction is used, we pass the unedited text to
229+
# Gemini-TTS. Otherwise, a default system instruction is used. AI Studio
230+
# calls this system instruction, Style Instructions.
225231
# @!attribute [rw] custom_pronunciations
226232
# @return [::Google::Cloud::TextToSpeech::V1beta1::CustomPronunciations]
227233
# Optional. The pronunciation customizations are applied to the input. If

0 commit comments

Comments
 (0)