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 classImageUrl.Builderpublic final classImageUrl.Detail
-
Method Summary
Modifier and Type Method Description final Stringurl()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 ImageUrlvalidate()final ImageUrl.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ImageUrl.Builderbuilder()-
-
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.
lowuses 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.
lowuses 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()
-
-
-
-