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-3Currently, 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormatStage<R,E>landscape()Landscape with dimensions 1792x1024 px.FormatStage<R,E>portrait()Landscape with dimensions 1024x1792 px.FormatStage<R,E>square()Square with dimensions 1024x1024 px.
-
-
-
Method Detail
-
square
public FormatStage<R,E> square()
Square with dimensions 1024x1024 px.- Returns:
FormatStageto configure the response format of the images.
-
landscape
public FormatStage<R,E> landscape()
Landscape with dimensions 1792x1024 px.- Returns:
FormatStageto configure the response format of the images.
-
portrait
public FormatStage<R,E> portrait()
Landscape with dimensions 1024x1792 px.- Returns:
FormatStageto configure the response format of the images.
-
-