skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

gemini-interactions-api

Building apps with the Gemini Interactions API for text, chat, streaming, and image generation

Developer Setup

Setup & Installation

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

Overview

What This Skill Does

A unified API for calling Gemini models and agents from Python and TypeScript. Replaces the older generateContent approach with server-managed conversation state, background task execution, streaming, and access to built-in agents like Deep Research.

Application

When to use this Skill

Documentation

Show Skills.md file

Gemini Interactions API 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-3.1-flash-tts-preview: expressive text-to-speech with Director's Chair prompting
  • 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 / 4B active parameters

[!WARNING] Models like gemini-2.0-*, gemini-1.5-* are legacy and deprecated. Never use them. If a user asks for a deprecated model, use gemini-3.5-flash instead and note the substitution.

Current Agents

Lines 1 - 25 of 414

Recommendations

Explore other random skills

All skillsMy patterns