Package com.openai.models
Class ImageGenerateParams.Size
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class ImageGenerateParams.Size implements EnumThe size of the generated images. Must be one of
256x256,512x512, or1024x1024fordall-e-2. Must be one of1024x1024,1792x1024, or1024x1792fordall-e-3models.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumImageGenerateParams.Size.Knownpublic enumImageGenerateParams.Size.Value
-
Field Summary
Fields Modifier and Type Field Description public final static ImageGenerateParams.Size_256X256public final static ImageGenerateParams.Size_512X512public final static ImageGenerateParams.Size_1024X1024public final static ImageGenerateParams.Size_1792X1024public final static ImageGenerateParams.Size_1024X1792
-
Method Summary
Modifier and Type Method Description final JsonField<String>_value()final ImageGenerateParams.Size.Valuevalue()final ImageGenerateParams.Size.Knownknown()final StringasString()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ImageGenerateParams.Sizeof(String value)-
-
Method Detail
-
value
final ImageGenerateParams.Size.Value value()
-
known
final ImageGenerateParams.Size.Known known()
-
of
final static ImageGenerateParams.Size of(String value)
-
-
-
-