class

OpenAI::MessageContentImageUrlObjectImageUrl

Inherits JSON::Serializable < Reference < Object

Constructors

new(url : String = "", detail : MessageContentImageUrlObjectImageUrlDetail | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance 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

Source
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

Source
url

The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.

Source
url=(url : String)

The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.

Source