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

    • Method Detail

      • poweredByDallE2

        public ChoicesStage<R,​E> poweredByDallE2()
        Configures the AI Model to be DallE20

        This model is the default model for images generation and the ancestor of the most recent dall-e-3 model. It can create original, realistic images based on other art or text description. Keep in mind that images may be more cartoon-ish looking and more similar to each other.

        Returns:
        ChoicesStage to configure the choices count.
      • poweredByDallE3

        public StyleStage<R,​E> poweredByDallE3()
        Configures the AI Model to be DallE30

        This model is the most modern model for images generation and the successor of the default dall-e-2 model. It understands significantly more nuance and detail compared to the earlier systems. Creates accurate images by directly translating the provided instructions.

        Note: Currently supports only images generation and is slightly more expensive in tokens

        Returns:
        ChoicesStage to configure the choices count.
      • defaultModel

        public ChoicesStage<R,​E> defaultModel()
        Configures the AI Model to be DallE20

        This model is the default model for images generation and the ancestor of the most recent dall-e-3 model. It can create original, realistic images based on other art or text description. Keep in mind that images may be more cartoon-ish looking and more similar to each other.

        Returns:
        ChoicesStage to configure the choices count.