File tree Expand file tree Collapse file tree
google/cloud/aiplatform/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,6 +184,20 @@ message VideoMetadata {
184184 [(google.api.field_behavior ) = OPTIONAL ];
185185}
186186
187+ // Config for image generation features.
188+ message ImageConfig {
189+ // Optional. The desired aspect ratio for the generated images. The following
190+ // aspect ratios are supported:
191+ //
192+ // "1:1"
193+ // "2:3", "3:2"
194+ // "3:4", "4:3"
195+ // "4:5", "5:4"
196+ // "9:16", "16:9"
197+ // "21:9"
198+ optional string aspect_ratio = 2 [(google.api.field_behavior ) = OPTIONAL ];
199+ }
200+
187201// Generation config.
188202message GenerationConfig {
189203 // The configuration for routing the request to a specific model.
@@ -337,6 +351,10 @@ message GenerationConfig {
337351 // An error will be returned if this field is set for models that don't
338352 // support thinking.
339353 ThinkingConfig thinking_config = 25 [(google.api.field_behavior ) = OPTIONAL ];
354+
355+ // Optional. Config for image generation features.
356+ optional ImageConfig image_config = 30
357+ [(google.api.field_behavior ) = OPTIONAL ];
340358}
341359
342360// Safety settings.
You can’t perform that action at this time.
0 commit comments