Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.35 KB

File metadata and controls

21 lines (14 loc) · 1.35 KB

OpenAIImageParameters

The OpenAIImageParameters class is designed to configure and manage the parameters used for image generation through the OpenAI API.

Inherits

Properties

Property Name Type Default Value Description
model Text "dall-e-2" Specifies the model to use for image generation. Supports provider:model aliases.
n Integer 1 The number of images to generate (must be between 1 and 10; only n=1 is supported for dall-e-3).
size Text "1024x1024" The size of the generated images. Must conform to model specifications.
style Text "" The style of the generated images (must be either vivid or natural).
response_format Text "url" The format for returned images, can be either url or b64_json.

See also