Skip to content

Commit 9c6e8ed

Browse files
feat: Add prompt to SynthesisInput (#30943)
* feat: Add prompt to SynthesisInput PiperOrigin-RevId: 802731785 Source-Link: googleapis/googleapis@c866721 Source-Link: googleapis/googleapis-gen@124a94d Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLXRleHRfdG9fc3BlZWNoLXYxLy5Pd2xCb3QueWFtbCIsImgiOiIxMjRhOTRkNTY2ZWU3M2MxYTg4Mzc2MDA2MGRhN2VkZWZiZWRiNjZkIn0= * 🦉 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 844f202 commit 9c6e8ed

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

google-cloud-text_to_speech-v1/lib/google/cloud/texttospeech/v1/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-v1/proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,12 @@ class Turn
210210
# multi-speaker synthesis.
211211
#
212212
# 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.
213+
# @!attribute [rw] prompt
214+
# @return [::String]
215+
# This system instruction is supported only for controllable/promptable voice
216+
# models. If this system instruction is used, we pass the unedited text to
217+
# Gemini-TTS. Otherwise, a default system instruction is used. AI Studio
218+
# calls this system instruction, Style Instructions.
213219
# @!attribute [rw] custom_pronunciations
214220
# @return [::Google::Cloud::TextToSpeech::V1::CustomPronunciations]
215221
# Optional. The pronunciation customizations are applied to the input. If

0 commit comments

Comments
 (0)