Class ImageURL
java.lang.Object
nl.dannyj.mistral.models.completion.content.ImageURL
Represents the URL and optional detail level for an image within a message content chunk.
-
Constructor Details
-
ImageURL
public ImageURL() -
ImageURL
Creates a newImageURL
instance.- Parameters:
url
- The image URI.detail
- The detail level string.
-
-
Method Details
-
getUrl
The URI of the image. Can be a standard web URI (http/https) or a data URI (e.g., data:image/png;base64,...).- Returns:
- The image URI.
-
getDetail
Specifies the detail level of the image. Valid values have not been documented, recommended to leave at null.- Returns:
- The detail level string, or null if not specified.
-
setUrl
The URI of the image. Can be a standard web URI (http/https) or a data URI (e.g., data:image/png;base64,...).- Parameters:
url
- The image URI.
-
setDetail
Specifies the detail level of the image. Valid values have not been documented, recommended to leave at null.- Parameters:
detail
- The detail level string.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-