File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
google/cloud/aiplatform/v1beta1 Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,20 @@ message SpeechConfig {
205205 VoiceConfig voice_config = 1 ;
206206}
207207
208+ // Config for image generation features.
209+ message ImageConfig {
210+ // Optional. The desired aspect ratio for the generated images. The following
211+ // aspect ratios are supported:
212+ //
213+ // "1:1"
214+ // "2:3", "3:2"
215+ // "3:4", "4:3"
216+ // "4:5", "5:4"
217+ // "9:16", "16:9"
218+ // "21:9"
219+ optional string aspect_ratio = 2 [(google.api.field_behavior ) = OPTIONAL ];
220+ }
221+
208222// Generation config.
209223message GenerationConfig {
210224 // The configuration for routing the request to a specific model.
@@ -429,6 +443,10 @@ message GenerationConfig {
429443
430444 // Optional. Config for model selection.
431445 ModelConfig model_config = 27 [(google.api.field_behavior ) = OPTIONAL ];
446+
447+ // Optional. Config for image generation features.
448+ optional ImageConfig image_config = 30
449+ [(google.api.field_behavior ) = OPTIONAL ];
432450}
433451
434452// Safety settings.
You can’t perform that action at this time.
0 commit comments