Vision (Image-to-Text)
Pass both text and image content to a multimodal model.Parameters
When using vision models withgenerateText, the following parameters are supported:
Array of message objects representing the conversation history. For vision, pass
type: 'image' along with the image data (URL or Base64) and mimeType.