Class InteractionImageConfig
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Image generation configuration (deprecated in the API).
public sealed class InteractionImageConfig
- Inheritance
-
InteractionImageConfig
- Inherited Members
- Extension Methods
Properties
AspectRatio
The aspect ratio of the image (e.g. 16:9).
[JsonPropertyName("aspect_ratio")]
public string? AspectRatio { get; set; }
Property Value
ImageSize
The image size (512, 1K, 2K, 4K).
[JsonPropertyName("image_size")]
public string? ImageSize { get; set; }