// devtools · google-gemini/cookbook

cookbook

cookbook é um projeto de ferramentas de desenvolvimento de código aberto de google-gemini (google-gemini/cookbook no GitHub). Tem 17.815 estrelas no GitHub e 2.795 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 7 de outubro de 2026.

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

★ 17,8 mil estrelas⑂ 2,8 mil forksApache-2.0atualizado out 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Estrelas no GitHub
17.815
Forks
2.795
Licença
Apache-2.0
Última atualização no GitHub
7 de outubro de 2026
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

Como funciona

  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.

// recursos

Por que as pessoas gostam tanto

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
// execute você mesmo

Execute você mesmo

  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
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

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.

// continue explorando

Ferramentas semelhantes

Ferramentas de desenvolvimento

unitree_sdk2

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

★ 1,4 mil estrelasBSD-3-Clause
Ver o guia →
Ferramentas de desenvolvimento

mcporter

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

★ 5,1 mil estrelasMIT
Ver o guia →
Ferramentas de desenvolvimento

judge0

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

★ 4,5 mil estrelasGPL-3.0
Ver o guia →
Ferramentas de desenvolvimento

open-terminal

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

★ 3,3 mil estrelasMIT
Ver o guia →
Ferramentas de desenvolvimento

ClaudeBar

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

★ 1,5 mil estrelasCustom
Ver o guia →
Ferramentas de desenvolvimento

aiohttp-swagger

Auto-generate Swagger docs for your aiohttp Python API.

★ 187 estrelasNOASSERTION
Ver o guia →
// alternativas

Alternativas em Ferramentas de desenvolvimento

Os outros projetos de Ferramentas de desenvolvimento com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se cookbook não for o ideal para você.

// mais em devtools

Mais em Ferramentas de desenvolvimento

Projetos de Ferramentas de desenvolvimento próximos no catálogo, os mais próximos em estrelas de cookbook: continue explorando dos dois lados dele.

Baixe o cookbook

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.