gemini-api
Installation
SKILL.md
Gemini API (Google)
Use a API de conteúdo generativo (generateContent / chat sessions). Chaves só no servidor; model ID e system instruction fazem parte do contrato da feature.
Stack e escopo
| Peça | Papel |
|---|---|
| generateContent | Turnos de texto / multimodal |
| SDK oficial | @google/genai (TS) / google-genai (Python) — ou o client já no repo |
| Streaming | generateContentStream |
| Tools | Function calling / code execution / grounding (conforme produto) |
| Auth | API key (GEMINI_API_KEY / GOOGLE_API_KEY) ou ADC no Vertex |
Apps novos: API Google AI (ai.google.dev) com API key, salvo o projeto já estar em Vertex AI — nesse caso preserve endpoint, projeto e auth ADC/service account.