語言

ImageGenerationOptions 類別

定義

代表影像生成請求的選項。

public ref class ImageGenerationOptions
public class ImageGenerationOptions
type ImageGenerationOptions = class
Public Class ImageGenerationOptions
繼承
ImageGenerationOptions

建構函式

名稱 Description
ImageGenerationOptions()

初始化 ImageGenerationOptions 類別的新執行個體。

ImageGenerationOptions(ImageGenerationOptions)

初始化該類別的新實例ImageGenerationOptions,對所有屬性進行淺層複製。other

屬性

名稱 Description
AdditionalProperties

取得或設定與期權相關的額外屬性。

Count

取得或設定要產生的圖片數量。

ImageSize

取得或設定產生影像的大小。

MediaType

取得或設定產生影像的媒體類型(亦稱為 MIME 類型)。

ModelId

取得或設定模型 ID 用於影像生成。

RawRepresentationFactory

取得或設定回調,負責從底層實作中建立影像生成選項的原始表示。

ResponseFormat

取得或設定生成影像的回應格式。

StreamingCount

取得或設定要產生的中間串流影像數量。

方法

名稱 Description
Clone()

產生當前 ImageGenerationOptions 實例的克隆。

適用於