Package com.openai.models.responses
Class ResponseInputImage
-
- All Implemented Interfaces:
public final class ResponseInputImageAn image input to the model. Learn about image inputs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseInputImage.BuilderA builder for ResponseInputImage.
public final classResponseInputImage.DetailThe detail level of the image to be sent to the model. One of
high,low, orauto. Defaults toauto.
-
Method Summary
Modifier and Type Method Description final ResponseInputImage.Detaildetail()The detail level of the image to be sent to the model. final JsonValue_type()The type of the input item. final Optional<String>fileId()The ID of the file to be sent to the model. final Optional<String>imageUrl()The URL of the image to be sent to the model. final JsonField<ResponseInputImage.Detail>_detail()The detail level of the image to be sent to the model. final JsonField<String>_fileId()The ID of the file to be sent to the model. final JsonField<String>_imageUrl()The URL of the image to be sent to the model. final Map<String, JsonValue>_additionalProperties()final ResponseInputImagevalidate()final ResponseInputImage.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseInputImage.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseInputImage. -
-
Method Detail
-
detail
final ResponseInputImage.Detail detail()
The detail level of the image to be sent to the model. One of
high,low, orauto. Defaults toauto.
-
imageUrl
final Optional<String> imageUrl()
The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.
-
_detail
final JsonField<ResponseInputImage.Detail> _detail()
The detail level of the image to be sent to the model. One of
high,low, orauto. Defaults toauto.
-
_imageUrl
final JsonField<String> _imageUrl()
The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseInputImage validate()
-
toBuilder
final ResponseInputImage.Builder toBuilder()
-
builder
final static ResponseInputImage.Builder builder()
Returns a mutable builder for constructing an instance of ResponseInputImage.
The following fields are required:
.detail()
-
-
-
-