v2025.6.2
All Bundles

ImageQuery

Image query

Operations

GetImage

Get the image URL

method : public : GetImage() ~ Byte[]

Return

TypeDescription
Byteimage bytes

GetImageUrl

Get the image URL

method : public : GetImageUrl() ~ Url

Return

TypeDescription
Urlimage URL

GetMimeType

Get the image mime type

method : public : GetMimeType() ~ String

Return

TypeDescription
Stringimage mime type

GetQuery

Get the text query

method : public : GetQuery() ~ String

Return

TypeDescription
Stringtext query

New

Constructor

New(query:String, image_url:Url)

Parameters

NameTypeDescription
queryStringtext query
image_urlUrlURL to image

New

Constructor

New(query:String, image:Byte[], mime_type:ImageQuery->MimeType)

Parameters

NameTypeDescription
queryStringtext query
imageBytebinary image
mime_typeImageQuery->MimeTypeimag MIME type

ToString

String representation of the object

method : public : ToString() ~ String

Return

TypeDescription
Stringstring representation