Skip to content

Commit 59aac0a

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

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

google/cloud/texttospeech/v1/cloud_tts.proto

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

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

0 commit comments

Comments
 (0)