Share via


ImageGenerationOptions Class

Definition

Represents the options for an image generation request.

public ref class ImageGenerationOptions
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
public class ImageGenerationOptions
public class ImageGenerationOptions
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
type ImageGenerationOptions = class
type ImageGenerationOptions = class
Public Class ImageGenerationOptions
Inheritance
ImageGenerationOptions
Attributes

Constructors

ImageGenerationOptions()

Initializes a new instance of the ImageGenerationOptions class.

ImageGenerationOptions(ImageGenerationOptions)

Initializes a new instance of the ImageGenerationOptions class, performing a shallow copy of all properties from other.

Properties

AdditionalProperties

Gets or sets any additional properties associated with the options.

Count

Gets or sets the number of images to generate.

ImageSize

Gets or sets the size of the generated image.

MediaType

Gets or sets the media type (also known as MIME type) of the generated image.

ModelId

Gets or sets the model ID to use for image generation.

RawRepresentationFactory

Gets or sets a callback responsible for creating the raw representation of the image generation options from an underlying implementation.

ResponseFormat

Gets or sets the response format of the generated image.

Methods

Clone()

Produces a clone of the current ImageGenerationOptions instance.

Applies to