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

    • Method Detail

      • expectUrl

        public ImagesTerminalStage<R,​E> expectUrl()
        Sets the image format to url.

        Important note: The images are not permanently hosted on the OpenAI servers. If you want to ensure the image is saved, you have to additionally download it.

        Returns:
        ImagesTerminalStage to choose an API for the image request.