The Gemini API lets you access the latest generative models from Google. This
API reference provides detailed information for the classes and methods
available in the Gemini API SDKs. Pick a language and follow the setup steps
to get started building.
Install the Gemini API library
Make your first request
Use the
generateContent method
to send a request to the Gemini API.
What's next
If you're just getting started, check out the following guides, which will help
you understand the Gemini API programming model:
[[["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 2025-01-28 UTC."],[],[]]