Send feedback
Learn about the Gemini API
Stay organized with collections
Save and categorize content based on your preferences.
The Gemini API
from Vertex AI
gives you access to the latest generative
models from Google —
the Gemini family of models
.
Generally speaking, the " Vertex AI
Gemini API
" is actually just a set of
endpoints within the larger Vertex AI
API surface
( aiplatform.googleapis.com
).
These endpoints are specifically for inference using the Gemini models.
Various products and interfaces provide access to the Vertex AI
Gemini API
:
Vertex AI in Firebase
client SDKs
(this documentation):
SDKs that allow you to call the Gemini API
directly from your
mobile and web apps.
They're available for Apple platforms, Android, Web, and Flutter.
Vertex AI server SDKs
:
SDKs that allow you to call the Gemini API
server-side.
They're available for Python, Go, Node.js, and Java.
REST API
:
Direct endpoints for the Gemini API
.
Vertex AI Studio
:
A web UI "playground" where you can design, test, and customize your prompts.
You can optionally experiment with an alternative
version of the Gemini API
that provides free-of-charge access (within
limits and where available) using Google AI Studio
and Google AI
client SDKs
.
These SDKs should be used for prototyping only
in mobile and
web apps. To call a Gemini API
directly from your mobile or web app,
we strongly recommend using the Vertex AI in Firebase
SDKs ,
which have many additional features important for mobile and web apps, like
protecting the API from abuse using Firebase App Check
and support
for large media files in requests
.
If needed, learn how to migrate to the Vertex AI in Firebase
SDKs
.
Next steps
Try out the capabilities of the Gemini API
Learn more about the Gemini models
Learn about the models available for various use cases
and their quotas and pricing
.
Send feedback
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 2024-09-23 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-23 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-23 UTC."]]