Generate text from text and image with Gemini Vertex API
gemini_image.vertex(
image = NULL,
prompt = "Explain this image",
type = "png",
tokens = NULL
)
A character string containing Gemini's description of the image.
The image to generate text
A character string specifying the prompt to use with the image. Defaults to "Explain this image". Currently ignored.
A character string specifying the image type ("png", "jpeg", "webp", "heic", "heif"). Defaults to "png".
A list containing the API URL and key from token.vertex() function.