LibreAI / Développement / cookbook
// devtools · google-gemini/cookbook

cookbook

cookbook est un projet de développement open source, créé par google-gemini (google-gemini/cookbook sur GitHub). Il compte 17 815 étoiles sur GitHub et 2 795 forks, il est publié sous la licence Apache-2.0 et a été mis à jour pour la dernière fois sur GitHub le 7 octobre 2026.

Google's official Gemini API cookbook - examples, guides and end-to-end demos

★ 17,8 k étoiles⑂ 2,8 k forksApache-2.0mis à jour oct. 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
17 815
Forks
2 795
Licence
Apache-2.0
Dernière mise à jour sur GitHub
7 octobre 2026
Catégorie
Développement
Type de fiche
Guide d'installation complet
Site officiel
Official site
// fonctionnement

Comment ça marche

  1. Get a Gemini API key

    Create a key in Google AI Studio - the notebooks authenticate with it.

  2. Clone the cookbook

    Get the repository so you can open the notebooks locally or in Colab.

  3. Pick a quick start

    Start with the Quick Starts section for the core API patterns.

  4. Run your first notebook

    Execute a quick start end to end, then move to an example matching your use case.

// fonctionnalités

Pourquoi on l'adore

Quick starts

Short, focused notebooks that teach the core Gemini API patterns fast.

Practical examples

Use-case notebooks covering real tasks across text, image, audio and code.

End-to-end demos

Complete demo applications that show full products built on the API.

Official SDKs

Examples use Google's official Gemini SDKs, so patterns transfer directly to production code.

Always current

Maintained by Google alongside the API, with a What's New section tracking additions.

Help and community links

The README routes you to support channels when you get stuck.

Advertisement
// lancez-le

Lancez-le vous-même

  1. Clone the repository

    Get the source code from GitHub and enter the project directory.

    git clone https://github.com/google-gemini/cookbook.git
    cd cookbook
  2. Open a quick start

    Clone the repo and open a notebook from the Quick Starts section in Jupyter or Colab.

    # Open a notebook from the '1. Quick Starts' section and run it top to bottom
  3. Authenticate

    Set your Gemini API key as the notebooks instruct, then run the cells.

    # export your Gemini API key as shown in the quick start notebook
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

Who maintains this project?

It is maintained by Google (the Gemini team) on GitHub.

Is it free to use?

Yes - the cookbook is Apache-2.0 licensed and free. Calling the Gemini API itself uses Google's pricing, which includes a free tier for many models.

Does it need a paid API key?

Yes - the notebooks call the Gemini API, so you need a Gemini API key; Google AI Studio issues keys with a free tier to start.

How does it compare to alternatives?

Compared with third-party tutorials, this is the official, Google-maintained source, updated with the API; compared with the API reference docs, it teaches by runnable example.

How do I get started?

Clone the repo, grab a free API key from Google AI Studio, and run a Quick Start notebook.

// continuez l'exploration

Outils similaires

Développement

unitree_sdk2

Unitree's official C++ SDK v2 for programming its robots, with CMake examples and installable library.

★ 1,4 k étoilesBSD-3-Clause
Voir le guide →
Développement

mcporter

Call MCP servers from TypeScript or the CLI — MCP tools disguised as a simple TypeScript API.

★ 5,1 k étoilesMIT
Voir le guide →
Développement

judge0

Judge0 is a robust, scalable, open-source online code execution system with a simple HTTP API

★ 4,5 k étoilesGPL-3.0
Voir le guide →
Développement

open-terminal

Open Terminal — a computer you can curl: a sandboxed terminal API for AI agents, from Open WebUI.

★ 3,3 k étoilesMIT
Voir le guide →
Développement

ClaudeBar

Menu-bar tracker for your AI coding quotas — Claude, Codex, Gemini and more.

★ 1,5 k étoilesCustom
Voir le guide →
Développement

aiohttp-swagger

Auto-generate Swagger docs for your aiohttp Python API.

★ 187 étoilesNOASSERTION
Voir le guide →
// alternatives

Alternatives en Développement

Les autres projets de la catégorie Développement avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si cookbook ne vous convient pas.

// plus en devtools

Plus en Développement

Projets de la catégorie Développement proches dans le catalogue, les plus proches en étoiles de cookbook — continuez à explorer de part et d'autre.

Obtenir cookbook

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.