Package com.openai.models
Class ImageGenerateParams.ResponseFormat
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class ImageGenerateParams.ResponseFormat implements EnumThe format in which the generated images are returned. Must be one of
urlorb64_json. URLs are only valid for 60 minutes after the image has been generated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumImageGenerateParams.ResponseFormat.Knownpublic enumImageGenerateParams.ResponseFormat.Value
-
Field Summary
Fields Modifier and Type Field Description public final static ImageGenerateParams.ResponseFormatURLpublic final static ImageGenerateParams.ResponseFormatB64_JSON
-
Method Summary
Modifier and Type Method Description final JsonField<String>_value()final ImageGenerateParams.ResponseFormat.Valuevalue()final ImageGenerateParams.ResponseFormat.Knownknown()final StringasString()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ImageGenerateParams.ResponseFormatof(String value)-
-
Method Detail
-
value
final ImageGenerateParams.ResponseFormat.Value value()
-
known
final ImageGenerateParams.ResponseFormat.Known known()
-
of
final static ImageGenerateParams.ResponseFormat of(String value)
-
-
-
-