Skip to content
  1. Home
  2. Guides and documents
  3. Gemini API Cookbook

Gemini API Cookbook

Google's quickstarts and examples for the Gemini API

What it is

Google's official set of notebooks for the Gemini API, arranged as a learning path. Quickstarts cover single features such as text, speech, image and video models, while the examples folder shows fuller use cases. Most notebooks open directly in Colab, which makes it a practical entry point for developers new to Gemini.

Good for

  • Run a Gemini quickstart in Colab
  • Try image or speech generation
  • Learn function calling with Gemini

What you need

Gemini API key; Google Colab or local Jupyter

Worth knowingTracks the newest Gemini models closely, so notebooks change often and older model names get dropped.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for coding

See the topic →
  • Karpathy-Inspired Claude Code Guidelines

    multica-ai/andrej-karpathy-skills

    One CLAUDE.md with four rules against common LLM coding mistakes

    GuideGitHub stars: 233k
  • OpenAI Cookbook

    openai/openai-cookbook

    Official examples and guides for common OpenAI API tasks

    GuideGitHub stars: 77k
  • Awesome Claude Code

    hesreallyhim/awesome-claude-code

    Curated list of Claude Code skills, agents, tooling and plugins

    GuideGitHub stars: 58k
  • Claude Cookbooks

    anthropics/claude-cookbooks

    Anthropic's notebooks and recipes for building with Claude

    GuideGitHub stars: 55k