skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

gemini-api-dev

Best practices for developing Gemini-powered apps using the Gemini API

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/google-gemini/gemini-skills --skill gemini-api-dev

Overview

What This Skill Does

Covers building applications with the Gemini API across Python, JavaScript/TypeScript, Go, and Java. Handles text generation, multimodal inputs (images, audio, video, documents), function calling, structured JSON output, code execution, context caching, and embeddings. Includes current model specs and SDK migration guidance.

Application

When to use this Skill

Documentation

Show Skills.md file

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.5-flash: 1M tokens, fast, balanced performance, multimodal
  • gemini-3.1-pro-preview: 1M tokens, complex reasoning, coding, research
  • gemini-3.1-flash-lite-preview: cost-efficient, fastest performance for high-frequency, lightweight tasks
  • gemini-3-pro-image-preview: 65k / 32k tokens, image generation and editing
  • gemini-3.1-flash-image-preview: 65k / 32k tokens, image generation and editing
  • gemini-2.5-pro: 1M tokens, complex reasoning, coding, research
  • gemini-2.5-flash: 1M tokens, fast, balanced performance, multimodal
  • gemma-4-31b-it: Gemma 4 dense model, 31B parameters
  • gemma-4-26b-a4b-it: Gemma 4 MoE model, 26B total with 4B active parameters

[!WARNING] Models like gemini-2.0-*, gemini-1.5-* are legacy and deprecated. Never use them.

Current SDKs (Use These)

  • Python: google-genaipip install google-genai
Lines 1 - 25 of 158

Recommendations

Explore other random skills

All skillsMy patterns