Vertex AI documentation is no longer being updated
Vertex AI's services are now part of Gemini Enterprise Agent Platform. See the most up-to-date information in the Agent Platform documentation.
Image text to JSON
Stay organized with collections
Save and categorize content based on your preferences.
Extract the items and prices from a fish market photo and output them in JSON.
|
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.
|
Extract the items and prices from a fish market photo and output them in JSON.
Response
{
"fish_market_prices": [
{
"item": "Fresh Whole Black Cod",
"price": "$18.99/lb"
},
{
"item": "Fresh Branzino",
"price": "$14.99/lb"
},
{
"item": "Fresh Rainbow Trout",
"price": "$11.99/lb"
},
{
"item": "Copper River King Salmon",
"price": "$89.99"
}
]
}
|
| Model: |
gemini-2.5-pro |
| Temperature: |
0.2 |
| Max output tokens: |
8192 |
| TopK: |
40.0 |
| TopP: |
0.95 |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-13 UTC.
[null,null,["Last updated 2026-06-13 UTC."],[],[]]