Interface ImageModelInterface

All Known Implementing Classes:
OpenAIWrapper

public interface ImageModelInterface
ImageModelInterface represent the standard methods for any model that generate images.
Author:
github.com/Barqawiz
  • Method Details

    • generateImages

      BaseRemoteModel generateImages(Map<String,Object> params) throws IOException
      Generate image from remote model.
      Parameters:
      params - map of input keys and values.
      Returns:
      BaseRemoteModel or any sub class.
      Throws:
      IOException - if there is an error when connecting to the server.