Package com.intellijava.core.model.input
Class ImageModelInput
java.lang.Object
com.intellijava.core.model.input.ImageModelInput
ImageModelInput handle the input parameters for the majority of the remote image models.
- Author:
- github.com/Barqawiz
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for ImageModelInput -
Constructor Summary
ConstructorDescriptionImageModelInput
(String prompt, int numberOfImages, String imageSize) ImageModelInput default constructor. -
Method Summary
Modifier and TypeMethodDescriptionGetter for imageSize.int
Getter for numberOfImages.Getter for prompt the text of the required action or the question.void
setImageSize
(String imageSize) Setter for imageSize.void
setNumberOfImages
(int numberOfImages) Setter for numberOfImages.void
Setter for prompt.
-
Constructor Details
-
ImageModelInput
ImageModelInput default constructor.- Parameters:
prompt
- image generation text.numberOfImages
- number of generated images.imageSize
- size of the generated images, options are: 256x256, 512x512, or 1024x1024.
-
-
Method Details
-
getPrompt
Getter for prompt the text of the required action or the question.- Returns:
- prompt
-
getNumberOfImages
public int getNumberOfImages()Getter for numberOfImages.- Returns:
- numberOfImages
-
getImageSize
Getter for imageSize.- Returns:
- imageSize
-
setPrompt
Setter for prompt.- Parameters:
prompt
-
-
setNumberOfImages
public void setNumberOfImages(int numberOfImages) Setter for numberOfImages.- Parameters:
numberOfImages
- the number of the generated images.
-
setImageSize
Setter for imageSize.- Parameters:
imageSize
- the size of the generated images, options are: 256x256, 512x512, or 1024x1024.
-