Class StabilityAiImageAutoConfiguration
java.lang.Object
org.springframework.ai.autoconfigure.stabilityai.StabilityAiImageAutoConfiguration
@AutoConfiguration(after=org.springframework.boot.autoconfigure.web.client.RestClientAutoConfiguration.class)
@ConditionalOnClass(StabilityAiApi.class)
@EnableConfigurationProperties({StabilityAiConnectionProperties.class,StabilityAiImageProperties.class})
public class StabilityAiImageAutoConfiguration
extends Object
- Since:
- 0.8.0
- Author:
- Mark Pollack
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstabilityAiApi
(StabilityAiConnectionProperties commonProperties, StabilityAiImageProperties imageProperties) stabilityAiImageClient
(StabilityAiApi stabilityAiApi, StabilityAiImageProperties stabilityAiImageProperties)
-
Constructor Details
-
StabilityAiImageAutoConfiguration
public StabilityAiImageAutoConfiguration()
-
-
Method Details
-
stabilityAiApi
@Bean @ConditionalOnMissingBean public StabilityAiApi stabilityAiApi(StabilityAiConnectionProperties commonProperties, StabilityAiImageProperties imageProperties) -
stabilityAiImageClient
@Bean @ConditionalOnMissingBean public StabilityAiImageClient stabilityAiImageClient(StabilityAiApi stabilityAiApi, StabilityAiImageProperties stabilityAiImageProperties)
-