Show / Hide Table of Contents

Class GoogleCloudAiplatformV1beta1ImageConfig

Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people.

Inheritance
object
GoogleCloudAiplatformV1beta1ImageConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.FirebaseML.v2beta.Data
Assembly: Google.Apis.FirebaseML.v2beta.dll
Syntax
public class GoogleCloudAiplatformV1beta1ImageConfig : IDirectResponseSchema

Properties

AspectRatio

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"

Declaration
[JsonProperty("aspectRatio")]
public virtual string AspectRatio { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ImageOutputOptions

Optional. The image output format for generated images.

Declaration
[JsonProperty("imageOutputOptions")]
public virtual GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions ImageOutputOptions { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions

ImageSize

Optional. Specifies the size of generated images. Supported values are 1K, 2K, 4K. If not specified, the model will use default value 1K.

Declaration
[JsonProperty("imageSize")]
public virtual string ImageSize { get; set; }
Property Value
Type Description
string

PersonGeneration

Optional. Controls whether the model can generate people.

Declaration
[JsonProperty("personGeneration")]
public virtual string PersonGeneration { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX