Class ImageModelInput

java.lang.Object
com.intellijava.core.model.input.ImageModelInput

public class ImageModelInput extends Object
ImageModelInput handle the input parameters for the majority of the remote image models.
Author:
github.com/Barqawiz
  • Constructor Details

    • ImageModelInput

      public ImageModelInput(String prompt, int numberOfImages, String imageSize)
      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

      public String 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

      public String getImageSize()
      Getter for imageSize.
      Returns:
      imageSize
    • setPrompt

      public void setPrompt(String prompt)
      Setter for prompt.
      Parameters:
      prompt -
    • setNumberOfImages

      public void setNumberOfImages(int numberOfImages)
      Setter for numberOfImages.
      Parameters:
      numberOfImages - the number of the generated images.
    • setImageSize

      public void setImageSize(String imageSize)
      Setter for imageSize.
      Parameters:
      imageSize - the size of the generated images, options are: 256x256, 512x512, or 1024x1024.