Image

@Serializable
@SerialName(value = "image_url")
data class Image(val imageUrl: ImagePart.ImageURL, val promptCacheBreakpoint: PromptCacheBreakpoint? = null) : ChatInputPart

Image input and optional cache boundary.

Constructors

Link copied to clipboard
constructor(imageUrl: ImagePart.ImageURL, promptCacheBreakpoint: PromptCacheBreakpoint? = null)

Properties

Link copied to clipboard
@SerialName(value = "image_url")
val imageUrl: ImagePart.ImageURL

Image URL and detail.

Link copied to clipboard
@SerialName(value = "prompt_cache_breakpoint")
val promptCacheBreakpoint: PromptCacheBreakpoint? = null

Optional cache boundary.