Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::ImageConfig (v1.30.1)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ImageConfig.

Config for image generation features.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#aspect_ratio

def aspect_ratio() -> ::String
Returns
  • (::String) — Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported:

    "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"

#aspect_ratio=

def aspect_ratio=(value) -> ::String
Parameter
  • value (::String) — Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported:

    "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"

Returns
  • (::String) — Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported:

    "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"