Enum Class QianFanImageApi.ImageModel

java.lang.Object
java.lang.Enum<QianFanImageApi.ImageModel>
org.springframework.ai.qianfan.api.QianFanImageApi.ImageModel
All Implemented Interfaces:
Serializable, Comparable<QianFanImageApi.ImageModel>, Constable
Enclosing class:
QianFanImageApi

public static enum QianFanImageApi.ImageModel extends Enum<QianFanImageApi.ImageModel>
QianFan Image API model.
  • Enum Constant Details

    • Stable_Diffusion_XL

      public static final QianFanImageApi.ImageModel Stable_Diffusion_XL
      Stable Diffusion XL (SDXL) is a powerful text-to-image generation model.
  • Method Details

    • values

      public static QianFanImageApi.ImageModel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static QianFanImageApi.ImageModel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()