Class ZhipuAiImageModel

java.lang.Object
dev.langchain4j.model.zhipu.ZhipuAiImageModel
All Implemented Interfaces:
ImageModel

public class ZhipuAiImageModel extends Object implements ImageModel
  • Constructor Details

    • ZhipuAiImageModel

      public ZhipuAiImageModel(String model, String userId, String apiKey, String baseUrl, Integer maxRetries, Boolean logRequests, Boolean logResponses, Duration callTimeout, Duration connectTimeout, Duration readTimeout, Duration writeTimeout)
      Instantiates ZhipuAi cogview-3 image processing model. Find the parameters description here.
      Parameters:
      model - cogview-3 is default
      userId - A unique identifier representing your end-user, which can help ZhipuAI to monitor and detect abuse. User ID length requirement: minimum of 6 characters, maximum of 128 characters
  • Method Details