Class ZhiPuAiImageModel

java.lang.Object
org.springframework.ai.zhipuai.ZhiPuAiImageModel
All Implemented Interfaces:
ImageModel, Model<ImagePrompt,ImageResponse>

public class ZhiPuAiImageModel extends Object implements ImageModel
ZhiPuAiImageModel is a class that implements the ImageModel interface. It provides a client for calling the ZhiPuAI image generation API.
Since:
1.0.0 M1
Author:
Geng Rong
  • Field Details

    • retryTemplate

      public final org.springframework.retry.support.RetryTemplate retryTemplate
  • Constructor Details

    • ZhiPuAiImageModel

      public ZhiPuAiImageModel(ZhiPuAiImageApi zhiPuAiImageApi)
    • ZhiPuAiImageModel

      public ZhiPuAiImageModel(ZhiPuAiImageApi zhiPuAiImageApi, ZhiPuAiImageOptions defaultOptions, org.springframework.retry.support.RetryTemplate retryTemplate)
  • Method Details