Class InteractionImageResponseFormat
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Image output format (type: image).
public sealed class InteractionImageResponseFormat : InteractionResponseFormat
- Inheritance
-
InteractionImageResponseFormat
- Inherited Members
- Extension Methods
Constructors
InteractionImageResponseFormat()
Initializes a new instance of the InteractionImageResponseFormat class.
public InteractionImageResponseFormat()
Properties
AspectRatio
The aspect ratio (e.g. 1:1, 16:9).
[JsonPropertyName("aspect_ratio")]
public string? AspectRatio { get; set; }
Property Value
Delivery
The delivery mode (see InteractionDeliveryModes).
[JsonPropertyName("delivery")]
public string? Delivery { get; set; }
Property Value
ImageSize
The image size (512, 1K, 2K, 4K).
[JsonPropertyName("image_size")]
public string? ImageSize { get; set; }
Property Value
MimeType
The MIME type of the image output (image/jpeg).
[JsonPropertyName("mime_type")]
public string? MimeType { get; set; }