ImageGenerationResponseFormat 枚举

定义

表示所生成图像的请求响应格式。

public enum class ImageGenerationResponseFormat
public enum ImageGenerationResponseFormat
type ImageGenerationResponseFormat = 
Public Enum ImageGenerationResponseFormat
继承
ImageGenerationResponseFormat

字段

名称 说明
Uri 0

生成的映像作为指向映像资源的 URI 返回。

Data 1

生成的映像将作为内存中图像数据返回。

Hosted 2

生成的映像将作为托管资源标识符返回,该标识符稍后可用于检索映像。

注解

并非所有实现都支持所有响应格式,如果不支持,则实现可能会忽略此值。

适用于