Skip to main content
Version: Next

OpenAIImagesResult

Inherits

Computed properties

PropertyTypeDescription
imagesCollection of OpenAIImageReturns a collection of OpenAIImage objects.
imageOpenAIImageReturns the first OpenAIImage from the collection.

Functions

saveImagesToDisk()

saveImagesToDisk(folder : 4D.Folder; prefix : Text) : Boolean

ParameterTypeDescription
folder4D.FolderThe folder where images will be saved.
prefixTextThe prefix for the saved image file names.
Function resultBooleanReturns True if the images are successfully saved.

Saves images to the specified disk folder.

See also