google-gemini-api

Complete guide for Google Gemini API using the CORRECT current SDK (@google/genai v1.27+, NOT thedeprecated @google/generative-ai). Covers text generation, multimodal inputs (text + images + video +audio + PDFs), function calling, thinking mode, streaming, and system instructions with accurate 2025model information (Gemini 2.5 Pro/Flash/Flash-Lite with 1M input tokens, NOT 2M).Use when: integrating Gemini API, implementing multimodal AI applications, using thinking mode forcomplex reasoning, function calling with parallel execution, streaming responses, deploying toCloudflare Workers, building chat applications, or encountering SDK deprecation warnings, context windowerrors, model not found errors, function calling failures, or multimodal format errors.Keywords: gemini api, @google/genai, gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite,multimodal gemini, thinking mode, google ai, genai sdk, function calling gemini, streaming gemini,gemini vision, gemini video, gemini audio, gemini pdf, sys

$ 安裝

git clone https://github.com/jackspace/ClaudeSkillz /tmp/ClaudeSkillz && cp -r /tmp/ClaudeSkillz/skills/google-gemini-api ~/.claude/skills/ClaudeSkillz

// tip: Run this command in your terminal to install the skill