# Image question answering

Show the model an image of a fruit and find the price from another image.

|---|---|
| You can query a model directly and test the results returned when using different parameter values with the Cloud console, or by calling the Vertex AI API directly. - For an example of using the Vertex AI API, see [Quickstart using the Vertex AI API](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/api-quickstart). - To view this sample in the Cloud console: [Go to Google Cloud console](https://console.cloud.google.com/vertex-ai/generative/language/prompt-examples/Image%20question%20answering) <br /> ||
| #### Prompt Freeform What is the price of this? #### Response Based on the price signs visible in the image, here are the prices for the different fruits: - **New Crop Asian Pears** (the large, round, yellow ones in foam nets): **$4.00 each** - **New Crop Red Sensation Pears** (the red ones): **$2.99 per pound** - **Delicious Bosc Pears** (the brown ones): **$2.99 per pound** - **Sweet Comice Pears** (the green ones on the left): **$x.99 per pound** (the first digit is obscured) | |---|---| | **Model:** | gemini-2.5-pro | | **Temperature:** | 0.2 | | **Max output tokens:** | 8192 | | **TopK:** | 40.0 | | **TopP:** | 0.95 | |