Package org.springframework.ai.zhipuai
Class ZhiPuAiImageOptions
java.lang.Object
org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- All Implemented Interfaces:
org.springframework.ai.image.ImageOptions,org.springframework.ai.model.ModelOptions
public class ZhiPuAiImageOptions
extends Object
implements org.springframework.ai.image.ImageOptions
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, Ilayaperumal Gopinathan
-
Constructor Details
-
ZhiPuAiImageOptions
public ZhiPuAiImageOptions()
-
-
Method Details
-
builder
-
getN
- Specified by:
getNin interfaceorg.springframework.ai.image.ImageOptions
-
getModel
- Specified by:
getModelin interfaceorg.springframework.ai.image.ImageOptions
-
setModel
-
getWidth
- Specified by:
getWidthin interfaceorg.springframework.ai.image.ImageOptions
-
getHeight
- Specified by:
getHeightin interfaceorg.springframework.ai.image.ImageOptions
-
getResponseFormat
- Specified by:
getResponseFormatin interfaceorg.springframework.ai.image.ImageOptions
-
getStyle
- Specified by:
getStylein interfaceorg.springframework.ai.image.ImageOptions
-
getUser
-
setUser
-
equals
-
hashCode
public int hashCode() -
toString
-