File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
packages/google-cloud-texttospeech/google/cloud
texttospeech_v1beta1/types Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -441,6 +441,15 @@ class SynthesisInput(proto.Message):
441
441
Only applicable for multi-speaker synthesis.
442
442
443
443
This field is a member of `oneof`_ ``input_source``.
444
+ prompt (str):
445
+ This system instruction is supported only for
446
+ controllable/promptable voice models. If this
447
+ system instruction is used, we pass the unedited
448
+ text to Gemini-TTS. Otherwise, a default system
449
+ instruction is used. AI Studio calls this system
450
+ instruction, Style Instructions.
451
+
452
+ This field is a member of `oneof`_ ``_prompt``.
444
453
custom_pronunciations (google.cloud.texttospeech_v1.types.CustomPronunciations):
445
454
Optional. The pronunciation customizations
446
455
are applied to the input. If this is set, the
@@ -478,6 +487,11 @@ class SynthesisInput(proto.Message):
478
487
oneof = "input_source" ,
479
488
message = "MultiSpeakerMarkup" ,
480
489
)
490
+ prompt : str = proto .Field (
491
+ proto .STRING ,
492
+ number = 6 ,
493
+ optional = True ,
494
+ )
481
495
custom_pronunciations : "CustomPronunciations" = proto .Field (
482
496
proto .MESSAGE ,
483
497
number = 3 ,
Original file line number Diff line number Diff line change @@ -468,6 +468,15 @@ class SynthesisInput(proto.Message):
468
468
Only applicable for multi-speaker synthesis.
469
469
470
470
This field is a member of `oneof`_ ``input_source``.
471
+ prompt (str):
472
+ This system instruction is supported only for
473
+ controllable/promptable voice models. If this
474
+ system instruction is used, we pass the unedited
475
+ text to Gemini-TTS. Otherwise, a default system
476
+ instruction is used. AI Studio calls this system
477
+ instruction, Style Instructions.
478
+
479
+ This field is a member of `oneof`_ ``_prompt``.
471
480
custom_pronunciations (google.cloud.texttospeech_v1beta1.types.CustomPronunciations):
472
481
Optional. The pronunciation customizations
473
482
are applied to the input. If this is set, the
@@ -505,6 +514,11 @@ class SynthesisInput(proto.Message):
505
514
oneof = "input_source" ,
506
515
message = "MultiSpeakerMarkup" ,
507
516
)
517
+ prompt : str = proto .Field (
518
+ proto .STRING ,
519
+ number = 6 ,
520
+ optional = True ,
521
+ )
508
522
custom_pronunciations : "CustomPronunciations" = proto .Field (
509
523
proto .MESSAGE ,
510
524
number = 3 ,
You can’t perform that action at this time.
0 commit comments