Class QianFanImageProperties
java.lang.Object
org.springframework.ai.autoconfigure.qianfan.QianFanImageProperties
@ConfigurationProperties("spring.ai.qianfan.image")
public class QianFanImageProperties
extends Object
QianFan Image autoconfiguration properties.
- Author:
- Geng Rong
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
setBaseUrl
(String baseUrl) void
setEnabled
(boolean enabled) void
setOptions
(QianFanImageOptions options) void
setSecretKey
(String secretKey)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
DEFAULT_IMAGE_MODEL
-
-
Constructor Details
-
QianFanImageProperties
public QianFanImageProperties()
-
-
Method Details
-
getOptions
-
setOptions
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getApiKey
-
setApiKey
-
getSecretKey
-
setSecretKey
-
getBaseUrl
-
setBaseUrl
-