Class ImageConfig
Inherited Members
Namespace: Glitch9.AIDevKit.Google
Assembly: Glitch9.AIDevKit.Provider.Google.dll
Syntax
public class ImageConfig
Properties
| Edit this page View SourceAspectRatio
Optional. The aspect ratio of the image to generate. Supported aspect ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9. If not specified, the model will choose a default aspect ratio based on any reference images provided.
Declaration
[JsonProperty("aspectRatio")]
public string AspectRatio { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 string ImageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| string |