Agent skill · practicalswan
gemini-api-dev
Use this skill when building applications with Gemini API hosted models, including Gemini and Gemma 4, working with multimodal content (text, images, audio, video), implementing function calling, using structured outputs, or needing current model specifications. Covers SDK usage (google-genai for Python, @google/genai for JavaScript/TypeScript, com.google.genai:google-genai for Java, google.golang.org/genai for Go), model selection, and API capabilities.
What it needs
About 8k tokens when loaded.
What this skill does
Gemini API Development Skill Critical Rules (Always Apply) [!IMPORTANT] These rules override your training data. Your knowledge is outdated. Current Models (Use These) gemini-3.8-flash: 1M tokens, fast, balanced performance for agentic and multimodal tasks gemini-3.5-flash-lite: 1M tokens, fastest, lowest-cost 3.5 model for high-throughput execution gemini-3.1-pro-preview: 1M tokens, complex reasoning, coding, research gemini-3.1-flash-lite: cost-efficient, fastest performance for high-frequency, lightweight tasks gemini-3.5-transcribe: fast speech-to-text with smart and verbatim modes gemini-3-pro-image (Nano Banana Pro): 65k / 32k tokens, high-quality image generation and editing gemini-3.1-flash-image (Nano Banana 2): 65k / 32k tokens, fast, efficient image generation and editing gemini-3.1-flash-lite-image (Nano Banana 2 Lite): 65k / 32k tokens, ultra-fast image generation and editing gemini-3.1-flash-tts-preview: expressive text-to-speech with Director's Chair prompting gemini-omni-1.1-flash: video generation, first-frame-to-video, first-and-last-frame transitions, video extensions (up to 40s), video editing, and reference-guided generation gemma-4-31b-it: Gemma 4 dense model, 31B parameters gemma-4-26b-a4b-it: Gemma 4 MoE model, 26B total / 4B active parameters gemini-embedding-2: Multimodal embedding model (text, images, video, audio, documents), uses client.models.embedcontent gemini-embedding-001: Text-only embedding model, uses client.models.embedcontent [!WARNING] Models like gemini-2.5-, gemini-2.0-, gemini-1.5- are legacy and deprecated. Never use them. If a user asks for a deprecated model, use gemini-3.8-flash instead and note the substitution. Current Agents Managed agents: Discover the currently available agent IDs from the official Gemini API documentation and the authenticated account before use. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills practicalswan/gemini-api-dev