Unreal OpenAI API 1.0.0
Loading...
Searching...
No Matches
FOpenAIImageVariation Struct Reference

Public Attributes

FString Image
FString Model {"dall-e-2"}
int32 N {1}
FString Response_Format {"url"}
FString Size {"1024x1024"}
FOptionalString User

Member Data Documentation

◆ Image

FString FOpenAIImageVariation::Image

The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square.

◆ Model

FString FOpenAIImageVariation::Model {"dall-e-2"}

The model to use for image generation. Only dall-e-2 is supported at this time.

◆ N

int32 FOpenAIImageVariation::N {1}

The number of images to generate. Must be between 1 and 10. For dall-e-3, only n=1 is supported.

◆ Response_Format

FString FOpenAIImageVariation::Response_Format {"url"}

The format in which the generated images are returned. Must be one of url or b64_json. URLs are only valid for 60 minutes after the image has been generated.

◆ Size

FString FOpenAIImageVariation::Size {"1024x1024"}

The size of the generated images. Must be one of 256x256, 512x512, or 1024x1024.

◆ User

FOptionalString FOpenAIImageVariation::User

A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.


The documentation for this struct was generated from the following file: