Class Dalle3SizeStage<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest,E extends RuntimeSelectionStage>
java.lang.Object
bg.codexio.ai.openai.api.sdk.images.ImageConfigurationStage<R>
bg.codexio.ai.openai.api.sdk.images.Dalle3SizeStage<R,E>
- All Implemented Interfaces:
IntermediateStage
public class Dalle3SizeStage<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest,E extends RuntimeSelectionStage>
extends ImageConfigurationStage<R>
implements IntermediateStage
A stage to choose the dimensions of the image generated supported by
dall-e-3
Currently, the possible options are
- 256x256
- 512x512
- 1024x1024
-
Field Summary
Fields inherited from class bg.codexio.ai.openai.api.sdk.images.ImageConfigurationStage
builder, executor -
Method Summary
-
Method Details
-
square
Square with dimensions 1024x1024 px.- Returns:
FormatStageto configure the response format of the images.
-
landscape
Landscape with dimensions 1792x1024 px.- Returns:
FormatStageto configure the response format of the images.
-
portrait
Landscape with dimensions 1024x1792 px.- Returns:
FormatStageto configure the response format of the images.
-