public enum ImageModel extends Enum<ImageModel>
| Modifier and Type | Field and Description |
|---|---|
static String |
DALL_E_QUALITY_HD |
static String |
DALL_E_QUALITY_STANDARD |
static String |
DALL_E_RESPONSE_FORMAT_B64_JSON |
static String |
DALL_E_RESPONSE_FORMAT_URL |
static String |
DALL_E_SIZE_1024_x_1024 |
static String |
DALL_E_SIZE_1024_x_1792 |
static String |
DALL_E_SIZE_1792_x_1024 |
static String |
DALL_E_SIZE_256_x_256 |
static String |
DALL_E_SIZE_512_x_512 |
static String |
DALL_E_STYLE_NATURAL |
static String |
DALL_E_STYLE_VIVID |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ImageModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageModel DALL_E_2
public static final ImageModel DALL_E_3
public static final String DALL_E_SIZE_256_x_256
public static final String DALL_E_SIZE_512_x_512
public static final String DALL_E_SIZE_1024_x_1024
public static final String DALL_E_SIZE_1792_x_1024
public static final String DALL_E_SIZE_1024_x_1792
public static final String DALL_E_QUALITY_STANDARD
public static final String DALL_E_QUALITY_HD
public static final String DALL_E_STYLE_VIVID
public static final String DALL_E_STYLE_NATURAL
public static final String DALL_E_RESPONSE_FORMAT_URL
public static final String DALL_E_RESPONSE_FORMAT_B64_JSON
public static ImageModel[] values()
for (ImageModel c : ImageModel.values()) System.out.println(c);
public static ImageModel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<ImageModel>Copyright © 2023. All rights reserved.