Package com.openai.models.responses
Class ResponseInputImage.Builder
-
- All Implemented Interfaces:
public final class ResponseInputImage.Builder
A builder for ResponseInputImage.
-
-
Method Summary
-
-
Method Detail
-
detail
final ResponseInputImage.Builder detail(ResponseInputImage.Detail detail)
The detail level of the image to be sent to the model. One of
high
,low
, orauto
. Defaults toauto
.
-
detail
final ResponseInputImage.Builder detail(JsonField<ResponseInputImage.Detail> detail)
The detail level of the image to be sent to the model. One of
high
,low
, orauto
. Defaults toauto
.
-
type
final ResponseInputImage.Builder type(JsonValue type)
The type of the input item. Always
input_image
.
-
fileId
final ResponseInputImage.Builder fileId(String fileId)
The ID of the file to be sent to the model.
-
fileId
final ResponseInputImage.Builder fileId(Optional<String> fileId)
The ID of the file to be sent to the model.
-
fileId
final ResponseInputImage.Builder fileId(JsonField<String> fileId)
The ID of the file to be sent to the model.
-
imageUrl
final ResponseInputImage.Builder imageUrl(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.
-
imageUrl
final ResponseInputImage.Builder imageUrl(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.
-
imageUrl
final ResponseInputImage.Builder imageUrl(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 ResponseInputImage.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseInputImage.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseInputImage.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseInputImage.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseInputImage.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseInputImage build()
-
-
-
-