Class DashScopeImageProperties

java.lang.Object
com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeImageProperties

@ConfigurationProperties("spring.ai.dashscope.image") public class DashScopeImageProperties extends Object
TongYi Image API properties.
Since:
2023.0.1.0
Author:
yuluo, yuluo
  • Field Details

    • CONFIG_PREFIX

      public static final String CONFIG_PREFIX
      Spring AI Alibaba configuration prefix.
      See Also:
    • DEFAULT_IMAGES_MODEL_NAME

      public static final String DEFAULT_IMAGES_MODEL_NAME
      Default DashScope Chat model.
      See Also:
  • Constructor Details

    • DashScopeImageProperties

      public DashScopeImageProperties()
  • Method Details

    • getOptions

      public DashScopeImageOptions getOptions()
    • setOptions

      public void setOptions(DashScopeImageOptions options)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getApiKey

      public String getApiKey()
    • setApiKey

      public void setApiKey(String apiKey)
    • getSecretKey

      public String getSecretKey()
    • setSecretKey

      public void setSecretKey(String secretKey)
    • getBaseUrl

      public String getBaseUrl()
    • setBaseUrl

      public void setBaseUrl(String baseUrl)
    • getWorkspaceId

      public String getWorkspaceId()
    • setWorkspaceId

      public void setWorkspaceId(String workspaceId)