Class SimplifiedStage<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest,E extends RuntimeSelectionStage>
java.lang.Object
bg.codexio.ai.openai.api.sdk.images.SimplifiedStage<R,E>
public class SimplifiedStage<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest,E extends RuntimeSelectionStage>
extends Object
A simplified stage where some things
such as AI Model Type and creativity
are already configured.
-
Method Summary
Modifier and TypeMethodDescriptionprotected ImagesTerminalStage<bg.codexio.ai.openai.api.payload.images.request.CreateImageRequest, PromptfulImagesRuntimeSelectionStage<bg.codexio.ai.openai.api.payload.images.request.CreateImageRequest>> protected StringexecuteGeneration(String instruction) Go ahead to specify instructions for image creation with high creativity and dall-e-3 model executed with a synchronous call.
-
Method Details
-
generate
Go ahead to specify instructions for image creation with high creativity and dall-e-3 model executed with a synchronous call.- Returns:
ChatRuntimeSelectionStage
-
executeGeneration
-
ensureCreatorTerminalStage
protected ImagesTerminalStage<bg.codexio.ai.openai.api.payload.images.request.CreateImageRequest,PromptfulImagesRuntimeSelectionStage<bg.codexio.ai.openai.api.payload.images.request.CreateImageRequest>> ensureCreatorTerminalStage()
-