Skip to content

Commit acdae9a

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add string value prompt to SynthesisInput
PiperOrigin-RevId: 802688528
1 parent 0d129bf commit acdae9a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

google/cloud/texttospeech/v1beta1/cloud_tts.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,12 @@ message SynthesisInput {
296296
MultiSpeakerMarkup multi_speaker_markup = 4;
297297
}
298298

299+
// This system instruction is supported only for controllable/promptable voice
300+
// models. If this system instruction is used, we pass the unedited text to
301+
// Gemini-TTS. Otherwise, a default system instruction is used. AI Studio
302+
// calls this system instruction, Style Instructions.
303+
optional string prompt = 6;
304+
299305
// Optional. The pronunciation customizations are applied to the input. If
300306
// this is set, the input is synthesized using the given pronunciation
301307
// customizations.

0 commit comments

Comments
 (0)