Class OutputOptions
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Represents the output options for the generated image.
public class OutputOptions
- Inheritance
-
OutputOptions
- Inherited Members
- Extension Methods
Properties
CompressionQuality
Gets or sets the level of compression if the output type is "image/jpeg". Accepted values are 0 through 100. The default value is 75.
[JsonPropertyName("compressionQuality")]
public int? CompressionQuality { get; set; }
Property Value
- int?
MimeType
Gets or sets the image format that the output should be saved as. The default value is "image/png".
[JsonPropertyName("mimeType")]
public string? MimeType { get; set; }