Understand and analyze images using Gemini models
Official documentation: https://ai.google.dev/gemini-api/docs/image-understandingAnalyze and understand images using Google Gemini models. The model can describe images, answer questions about them, and extract information from visual content.
role (string): Role (user or model)parts (array): Content parts array, can include:
text (string): Text promptinline_data (object): Image data
mime_type (string): Image MIME type (e.g., “image/jpeg”, “image/png”)data (string): Base64-encoded image datatemperature (number): Sampling temperaturetopP (number): Nucleus sampling parametermaxOutputTokens (integer): Maximum output tokens