Class SynchronousApi<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest>

    • Method Detail

      • generate

        public SynchronousExecutor<R> generate​(String prompt)
        Specified by:
        generate in interface ImagesPromptStage<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest>
        Parameters:
        prompt - the instruction for the model, most important and mandatory part of the configuration
        Returns:
        SynchronousExecutor to handle the HTTP response