Share via


ImageGenerationResponseFormat Enum

Definition

Represents the requested response format of the generated image.

public enum class ImageGenerationResponseFormat
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
public enum ImageGenerationResponseFormat
public enum ImageGenerationResponseFormat
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
type ImageGenerationResponseFormat = 
type ImageGenerationResponseFormat = 
Public Enum ImageGenerationResponseFormat
Inheritance
ImageGenerationResponseFormat
Attributes

Fields

Name Value Description
Uri 0

The generated image is returned as a URI pointing to the image resource.

Data 1

The generated image is returned as in-memory image data.

Hosted 2

The generated image is returned as a hosted resource identifier, which can be used to retrieve the image later.

Remarks

Not all implementations support all response formats and this value might be ignored by the implementation if not supported.

Applies to