OpenAI::MessageContentImageUrlObjectImageUrl
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
detail
Specifies the detail level of the image. low uses fewer tokens, you can opt in to high resolution using high. Default value is auto
detail=(detail : MessageContentImageUrlObjectImageUrlDetail | Nil)
Specifies the detail level of the image. low uses fewer tokens, you can opt in to high resolution using high. Default value is auto
url
The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.