Package org.springframework.ai.zhipuai
Class ZhiPuAiImageOptions
java.lang.Object
org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- All Implemented Interfaces:
ImageOptions
,ModelOptions
ZhiPuAiImageOptions represents the options for image generation using ZhiPuAI image
model.
It implements the ImageOptions interface, which is portable across different image generation models.
Default values:
- model: ZhiPuAiImageApi.DEFAULT_IMAGE_MODEL
- user: null
- Since:
- 1.0.0 M1
- Author:
- Geng Rong
-
Constructor Details
-
ZhiPuAiImageOptions
public ZhiPuAiImageOptions()
-
-
Method Details
-
builder
-
getN
- Specified by:
getN
in interfaceImageOptions
-
getModel
- Specified by:
getModel
in interfaceImageOptions
-
setModel
-
getWidth
- Specified by:
getWidth
in interfaceImageOptions
-
getHeight
- Specified by:
getHeight
in interfaceImageOptions
-
getResponseFormat
- Specified by:
getResponseFormat
in interfaceImageOptions
-
getStyle
- Specified by:
getStyle
in interfaceImageOptions
-
getUser
-
setUser
-
equals
-
hashCode
public int hashCode() -
toString
-