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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ImagesTerminalStage<bg.codexio.ai.openai.api.payload.images.request.CreateImageRequest,PromptfulImagesRuntimeSelectionStage<bg.codexio.ai.openai.api.payload.images.request.CreateImageRequest>>ensureCreatorTerminalStage()protected StringexecuteGeneration(String instruction)Stringgenerate(String instruction)Go ahead to specify instructions for image creation with high creativity and dall-e-3 model executed with a synchronous call.
-
-
-
Method Detail
-
generate
public String generate(String instruction)
Go ahead to specify instructions for image creation with high creativity and dall-e-3 model executed with a synchronous call.- Returns:
ChatRuntimeSelectionStage
-
ensureCreatorTerminalStage
protected ImagesTerminalStage<bg.codexio.ai.openai.api.payload.images.request.CreateImageRequest,PromptfulImagesRuntimeSelectionStage<bg.codexio.ai.openai.api.payload.images.request.CreateImageRequest>> ensureCreatorTerminalStage()
-
-