Package com.openai.models
Class ImageUrl
-
- All Implemented Interfaces:
public final class ImageUrl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ImageUrl.Builder
public final class
ImageUrl.Detail
Specifies the detail level of the image.
low
uses fewer tokens, you can opt in to high resolution usinghigh
. Default value isauto
-
Method Summary
Modifier and Type Method Description final String
url()
The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp. final Optional<ImageUrl.Detail>
detail()
Specifies the detail level of the image. final JsonField<String>
_url()
The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp. final JsonField<ImageUrl.Detail>
_detail()
Specifies the detail level of the image. final Map<String, JsonValue>
_additionalProperties()
final ImageUrl
validate()
final ImageUrl.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ImageUrl.Builder
builder()
-
-
Method Detail
-
url
final String url()
The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.
-
detail
final Optional<ImageUrl.Detail> detail()
Specifies the detail level of the image.
low
uses fewer tokens, you can opt in to high resolution usinghigh
. Default value isauto
-
_url
final JsonField<String> _url()
The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.
-
_detail
final JsonField<ImageUrl.Detail> _detail()
Specifies the detail level of the image.
low
uses fewer tokens, you can opt in to high resolution usinghigh
. Default value isauto
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ImageUrl.Builder toBuilder()
-
builder
final static ImageUrl.Builder builder()
-
-
-
-