Skip to content

Commit 50d4eb9

Browse files
Google APIscopybara-github
authored andcommitted
feat: add relax_safety_filters proto field for Gemini TTS
PiperOrigin-RevId: 820699890
1 parent 3322511 commit 50d4eb9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

google/cloud/texttospeech/v1beta1/cloud_tts.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,15 @@ message AdvancedVoiceOptions {
167167
// Only for Journey voices. If false, the synthesis is context aware
168168
// and has a higher latency.
169169
optional bool low_latency_journey_synthesis = 1;
170+
171+
// Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only
172+
// supported for accounts linked to Invoiced (Offline) Cloud billing accounts.
173+
// Otherwise, will return result
174+
// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
175+
bool relax_safety_filters = 8 [
176+
(google.api.field_behavior) = INPUT_ONLY,
177+
(google.api.field_behavior) = OPTIONAL
178+
];
170179
}
171180

172181
// The top-level message sent by the client for the `SynthesizeSpeech` method.

0 commit comments

Comments
 (0)