Class StabilityAiImageProperties
java.lang.Object
org.springframework.ai.model.stabilityai.autoconfigure.StabilityAiImageProperties
@ConfigurationProperties("spring.ai.stabilityai.image")
public class StabilityAiImageProperties
extends Object
Configuration properties for Stability AI image model.
- Since:
- 0.8.0
- Author:
- Mark Pollack, Christian Tzolov, Sebastien Deleuze
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable String@Nullable String@Nullable Float@Nullable String@Nullable Integer@Nullable StringgetModel()@Nullable IntegergetN()Deprecated, for removal: This API element is subject to removal in a future version.@Nullable String@Nullable String@Nullable LonggetSeed()@Nullable IntegergetSteps()@Nullable String@Nullable IntegergetWidth()voidvoidsetBaseUrl(@Nullable String baseUrl) voidsetCfgScale(@Nullable Float cfgScale) voidsetClipGuidancePreset(@Nullable String clipGuidancePreset) voidvoidvoidvoidvoidsetResponseFormat(@Nullable String responseFormat) voidsetSampler(@Nullable String sampler) voidvoidvoidsetStylePreset(@Nullable String stylePreset) void
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
StabilityAiImageProperties
public StabilityAiImageProperties()
-
-
Method Details
-
getN
-
setN
-
getModel
-
setModel
-
getWidth
-
setWidth
-
getHeight
-
setHeight
-
getResponseFormat
-
setResponseFormat
-
getCfgScale
-
setCfgScale
-
getClipGuidancePreset
-
setClipGuidancePreset
-
getSampler
-
setSampler
-
getSeed
-
setSeed
-
getSteps
-
setSteps
-
getStylePreset
-
setStylePreset
-
toOptions
-
getOptions
@DeprecatedConfigurationProperty(replacement="spring.ai.stabilityai.image") @Deprecated(since="2.0.0", forRemoval=true) public StabilityAiImageProperties.Options getOptions()Deprecated, for removal: This API element is subject to removal in a future version. -
setOptions
-
getApiKey
-
setApiKey
-
getBaseUrl
-
setBaseUrl
-