Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7rnC7jppGGdHGESvy
26 lines
2.2 KiB
Plaintext
26 lines
2.2 KiB
Plaintext
# Spring AI 2.0.2 image classes (read from the jars)
|
|
|
|
interface : org.springframework.ai.image.ImageModel
|
|
single method : [call]
|
|
request : org.springframework.ai.image.ImagePrompt
|
|
OpenAI : org.springframework.ai.openai.OpenAiImageModel
|
|
Stability AI : org.springframework.ai.stabilityai.StabilityAiImageModel
|
|
moderation interface : org.springframework.ai.moderation.ModerationModel
|
|
moderation OpenAI : org.springframework.ai.openai.OpenAiModerationModel
|
|
|
|
portable ImageOptions getters : [getHeight, getModel, getN, getResponseFormat, getStyle, getWidth]
|
|
OpenAiImageOptions getters : [getApiKey, getBaseUrl, getCredential, getCustomHeaders, getDeploymentName, getHeight, getMaxRetries, getMicrosoftDeploymentName, getMicrosoftFoundryServiceVersion, getModel, getN, getOrganizationId, getProxy, getQuality, getResponseFormat, getSize, getStyle, getTimeout, getUser, getWidth, isGitHubModels, isMicrosoftFoundry]
|
|
StabilityAiImageOptions : [getCfgScale, getClipGuidancePreset, getHeight, getModel, getN, getResponseFormat, getSampler, getSeed, getSteps, getStyle, getStylePreset, getWidth]
|
|
GoogleGenAiImageOptions : [getAspectRatio, getHeight, getImageSize, getLabels, getMaxOutputTokens, getModel, getN, getOutputCompressionQuality, getOutputMimeType, getPersonGeneration, getResponseFormat, getSafetyFilterLevel, getSeed, getStyle, getTemperature, getTopK, getTopP, getWidth]
|
|
|
|
OpenAiImageOptions.DEFAULT_IMAGE_MODEL = gpt-image-1-mini
|
|
OpenAiModerationOptions.DEFAULT_MODERATION_MODEL = omni-moderation-latest
|
|
OpenAiImageOptions has a getModeration() : false
|
|
ModerationMessage getters : [getText] (text only, no media)
|
|
Stability default engine / base URL : stable-diffusion-v1-6 @ https://api.stability.ai/v1
|
|
GoogleGenAiImageModelName : [gemini-2.5-flash-image, gemini-3-pro-image, gemini-3.1-flash-image]
|
|
Google SafetyFilterLevel : [BLOCK_LOW_AND_ABOVE, BLOCK_MEDIUM_AND_ABOVE, BLOCK_ONLY_HIGH, BLOCK_NONE, SAFETY_FILTER_LEVEL_UNSPECIFIED]
|
|
Google PersonGeneration : [DONT_ALLOW, ALLOW_ADULT, ALLOW_ALL, PERSON_GENERATION_UNSPECIFIED]
|
|
AbstractOpenAiOptions.DEFAULT_MAX_RETRIES (image options extend it) = 3
|
|
portable builder gives : DefaultImageModelOptions
|