Class StyleStage<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest,​E extends RuntimeSelectionStage>

  • All Implemented Interfaces:
    IntermediateStage

    public class StyleStage<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest,​E extends RuntimeSelectionStage>
    extends ImageConfigurationStage<R>
    implements IntermediateStage
    A stage to choose the style of the images generated.

    Currently, this is supported only by dall-e-3 model, therefore applicable only for creating images.

    • Method Detail

      • vivid

        public QualityStage<R,​E> vivid()

        Sets the style to vivid. Causes the model to lean towards generating hyper-real and dramatic images.

        Returns:
        QualityStage to configure the quality of the images.
      • natural

        public QualityStage<R,​E> natural()

        Sets the style to natural. Causes the model to produce more natural, less hyper-real looking images, closer to the dall-e-2 style.

        Returns:
        QualityStage to configure the quality of the images.
      • unstyled

        public QualityStage<R,​E> unstyled()

        Sets the style to natural. Causes the model to produce more natural, less hyper-real looking images, closer to the dall-e-2 style.

        Returns:
        QualityStage to configure the quality of the images.