Gemini API tutorials

The Gemini API gives you access to the latest generative AI models from Google. The Gemini quickstarts will help you get started with Gemini using a programming language of your choice.

You can also use curl commands to try out the Gemini API:

If you're new to generative AI models, you might want to look at the concepts guide and the Gemini API overview before trying a quickstart.

If you're ready to start programming, but you're not sure which language to use, try the Python quickstart. It's available as a Colab notebook, so you can run code from the browser with minimal setup.