class

OpenAI::MessageDeltaContentImageUrlObjectImageUrl

Inherits JSON::Serializable < Reference < Object

Constructors

new(url : String | Nil = nil, detail : MessageDeltaContentImageUrlObjectImageUrlDetail | 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.

Source
detail=(detail : MessageDeltaContentImageUrlObjectImageUrlDetail | Nil)

Specifies the detail level of the image. low uses fewer tokens, you can opt in to high resolution using high.

Source
url

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

Source
url=(url : String | Nil)

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

Source