Gemini Interactions Api
Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. This skill covers the Interactions API, the recommended way to use Gemini models and agents in Python and TypeScript.
- Type
- Skill
- Author
- google-gemini
- Category
- API Integration
- GitHub stars
- 4.3K
- Installs
- 12.3K
- Last updated
- October 30, 2026
Install
npx skills add https://github.com/google-gemini/gemini-skills --skill gemini-interactions-apiUse cases
- Write Python or TypeScript code that calls the Gemini Interactions API for text generation.
- Migrate existing code from the older generateContent API to the Interactions API.
- Add streaming responses, function calling, or structured output to a Gemini integration.
Frequently Asked Questions
What is the Interactions API?
It is described as the recommended way to use Gemini models and agents in Python and TypeScript.
Which capabilities does the skill cover?
Text generation, multi-turn chat, multimodal understanding, image and video generation, streaming, background research, function calling, and structured output.
Does it help with migration?
Yes, it covers migrating from the old generateContent API.
About this skill
Supports writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image and video generation, streaming responses, background research tasks, function calling, and structured output. It covers the Interactions API, the recommended way to use Gemini models and agents in Python and TypeScript, including migration from the older generateContent API.
Summary written with AI assistance from the project's public description.
Categories
More from google-gemini
Code Reviewer
Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on corre...
by google-gemini
Gemini Api Dev
Use this skill when building applications with Gemini API hosted models, including Gemini and Gemma 4, working with multimodal content (text, image...
by google-gemini
Gemini Live Api Dev
Use this skill when building real-time, bidirectional streaming applications with the Gemini Live API. Covers WebSocket-based audio/video/text stre...
by google-gemini
Gemini Skills
A library of skills for the Gemini API, SDK and model interactions.
by google-gemini
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh