# Canonical Gemini API Docs

This skill was synthesized from these pages on **2026-04-16**. The Gemini API surface changes fast — when content here disagrees with the live docs, trust the live docs and update the skill.

## Root

- Gemini API overview: https://ai.google.dev/gemini-api/docs
- Model catalog: https://ai.google.dev/gemini-api/docs/models

## Text models

- Prompting strategies: https://ai.google.dev/gemini-api/docs/prompting-strategies
- Structured output: https://ai.google.dev/gemini-api/docs/structured-output
- Thinking mode: https://ai.google.dev/gemini-api/docs/thinking
- Function calling: https://ai.google.dev/gemini-api/docs/function-calling
- Grounding with Google Search: https://ai.google.dev/gemini-api/docs/grounding
- URL context tool: https://ai.google.dev/gemini-api/docs/url-context
- Code execution: https://ai.google.dev/gemini-api/docs/code-execution

## Image

- Image generation + editing: https://ai.google.dev/gemini-api/docs/image-generation
- Imagen guide (if separate): https://ai.google.dev/gemini-api/docs/imagen

## Video

- Video generation (Veo): https://ai.google.dev/gemini-api/docs/video

## Audio

- Live API: https://ai.google.dev/gemini-api/docs/live
- Text-to-speech: https://ai.google.dev/gemini-api/docs/text-to-speech

## Embeddings + search

- Embeddings: https://ai.google.dev/gemini-api/docs/embeddings
- File search / RAG: https://ai.google.dev/gemini-api/docs/file-search

## Operational

- Pricing: https://ai.google.dev/pricing
- Quotas + rate limits: https://ai.google.dev/gemini-api/docs/rate-limits
- Billing + batch API: https://ai.google.dev/gemini-api/docs/batch-api
- Safety settings: https://ai.google.dev/gemini-api/docs/safety-settings

## SDKs

- Python SDK (`google-genai`): https://googleapis.github.io/python-genai/
- JS/TS SDK (`@google/genai`): https://googleapis.github.io/js-genai/
- REST reference: https://ai.google.dev/api/rest

## Refresh playbook

When this skill feels stale:
1. Fetch the page(s) above that correspond to the topic file.
2. Diff against the existing content.
3. Update the topic file and bump the "fetched YYYY-MM-DD" line at the top.
4. Update `model-ids.md` if the model catalog moved.
