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

  • Method Details

    • square

      public FormatStage<R,E> square()
      Square with dimensions 1024x1024 px.
      Returns:
      FormatStage to configure the response format of the images.
    • landscape

      public FormatStage<R,E> landscape()
      Landscape with dimensions 1792x1024 px.
      Returns:
      FormatStage to configure the response format of the images.
    • portrait

      public FormatStage<R,E> portrait()
      Landscape with dimensions 1024x1792 px.
      Returns:
      FormatStage to configure the response format of the images.