Package com.intellijava.core.model.input
Class ImageModelInput.Builder
java.lang.Object
com.intellijava.core.model.input.ImageModelInput.Builder
- Enclosing class:
ImageModelInput
Builder class for ImageModelInput
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the final ImageModelInput object.setImageSize
(String imageSize) Setter for imageSizesetNumberOfImages
(int numberOfImages) Setter for numberOfImagesSetter for prompt
-
Constructor Details
-
Builder
Image input Constructor.- Parameters:
prompt
- : the text of the required action or the question.
-
-
Method Details
-
setPrompt
Setter for prompt- Parameters:
prompt
- : the text of the required action or the question.- Returns:
- instance of Builder
-
setNumberOfImages
Setter for numberOfImages- Parameters:
numberOfImages
- : the number of the generated images.- Returns:
- instance of Builder
-
setImageSize
Setter for imageSize- Parameters:
imageSize
- : the size of the generated images, options are: 256x256, 512x512, or 1024x1024.- Returns:
- instance of Builder
-
build
Build the final ImageModelInput object.- Returns:
- final ImageModelInput object
-