Package org.springframework.ai.openai
Class OpenAiImageOptions.Builder
java.lang.Object
org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder<OpenAiImageOptions,OpenAiImageOptions.Builder>
org.springframework.ai.openai.OpenAiImageOptions.Builder
- Enclosing class:
- OpenAiImageOptions
public static final class OpenAiImageOptions.Builder
extends AbstractOpenAiOptions.AbstractBuilder<OpenAiImageOptions,OpenAiImageOptions.Builder>
-
Field Summary
Fields inherited from class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
apiKey, baseUrl, credential, customHeaders, isGitHubModels, isMicrosoftFoundry, maxRetries, microsoftDeploymentName, microsoftFoundryServiceVersion, model, organizationId, proxy, timeout -
Method Summary
Modifier and TypeMethodDescriptionbuild()from(OpenAiImageOptions fromOptions) merge(@Nullable ImageOptions from) responseFormat(@Nullable String responseFormat) Methods inherited from class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
apiKey, apiKey, azure, azureOpenAIServiceVersion, baseUrl, credential, customHeaders, deploymentName, gitHubModels, maxRetries, microsoftFoundry, microsoftFoundryServiceVersion, model, organizationId, proxy, self, timeout
-
Method Details
-
from
-
merge
-
n
-
responseFormat
-
width
-
height
-
user
-
style
-
quality
-
size
-
build
- Specified by:
buildin classAbstractOpenAiOptions.AbstractBuilder<OpenAiImageOptions,OpenAiImageOptions.Builder>
-