ImageCreationBuilder

Builder of ImageCreation instances.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The model used to generate image. Must be one of dall-e-2 or dall-e-3. If not provided, dall-e-2 is used.

Link copied to clipboard
var n: Int?

The number of images to generate. Must be between 1 and 10.

Link copied to clipboard

A text description of the desired image(s). The maximum length is 1000 characters.

Link copied to clipboard

The size of the generated images.

Link copied to clipboard
var user: String?

The format in which the generated images are returned. Must be one of url or b64_json.

Functions

Link copied to clipboard

Creates the ImageCreation instance