Package org.springframework.ai.openai
Class OpenAiImageOptions
java.lang.Object
org.springframework.ai.openai.OpenAiImageOptions
- All Implemented Interfaces:
ImageOptions
,ModelOptions
OpenAI Image API options. OpenAiImageOptions.java
- Since:
- 0.8.0
- Author:
- Mark Pollack, Christian Tzolov
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OpenAiImageOptions.Builder
builder()
boolean
getModel()
getN()
getSize()
getStyle()
getUser()
getWidth()
int
hashCode()
void
void
void
void
setQuality
(String quality) void
setResponseFormat
(String responseFormat) void
void
void
void
toString()
-
Constructor Details
-
OpenAiImageOptions
public OpenAiImageOptions()
-
-
Method Details
-
builder
-
getN
- Specified by:
getN
in interfaceImageOptions
-
setN
-
getModel
- Specified by:
getModel
in interfaceImageOptions
-
setModel
-
getQuality
-
setQuality
-
getResponseFormat
- Specified by:
getResponseFormat
in interfaceImageOptions
-
setResponseFormat
-
getWidth
- Specified by:
getWidth
in interfaceImageOptions
-
setWidth
-
getHeight
- Specified by:
getHeight
in interfaceImageOptions
-
setHeight
-
getStyle
-
setStyle
-
getUser
-
setUser
-
setSize
-
getSize
-
equals
-
hashCode
public int hashCode() -
toString
-