View source: R/content_blocks.R
| input_image | R Documentation |
Create a provider-neutral image block for multimodal message content. Supports local files, remote URLs, and data URIs.
input_image(x, media_type = "auto", detail = "auto")
x |
Image source as a local file path, remote URL, or data URI. |
media_type |
MIME type of the image. If |
detail |
Optional image detail hint for providers that support it. |
A list representing an input image block.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.