Gemini API reference guide

Gemini API reference

This API reference describes the unary, streaming, and real-time APIs you can use to interact with the Gemini models. You can use the REST APIs in any environment that supports HTTP requests. Refer to the Get started guide for how to get started with your first API call. If you’re looking for the references for our language-specific libraries and SDKs, go to the link for that language in the left navigation under SDK references.