Gemini Interactions API: Stateful Agent and Image Editing Demo in Anti-gravity

1 件の動画 · 更新: 1時間前
Get started with the Interactions API 📺 Get started with the Interactions API ⏱ 8:50📅 2026/07/18 05:53🌐 English Translation

Gemini Interactions API: Stateful Agent and Image Editing Demo in Anti-gravity

Gemini Interactions API is introduced as a unified and stateful interface for Gemini models and agents, covering synchronous calls, managed agents, background tools, deep research, and media generation. The demonstration installs the Gemini Interactions API skill in the Anti-gravity IDE and builds a small image-editing application that accepts a portrait plus text or voice input. It then walks through iterative edits that reuse previous interaction IDs.

■ Unified API and agent features
- One stateful Interactions API for Gemini models and agents
- Supports synchronous calls, managed agents, background tools, deep research, and media generation
■ Setup with Anti-gravity IDE
- Installs the Gemini Interactions API skill and configures a Gemini API key from ai.dev
- Uses npm and ServerJS with Gemini 3.1 Flash Image and Gemini 3.5 Flash
■ Stateful image-editing demo
- Builds an app for portrait input, text or voice prompts, and image output
- Transcribes audio first because Nano Banana does not accept audio input
- Reuses previous interaction IDs to make iterative edits without re-uploading the image

Viewers interested in Gemini API development, agent-based workflows, and stateful application patterns can see how to start with the Interactions API skill and a coding agent. The demo offers an overview of setup, capabilities, and an iterative image-editing use case rather than a full production guide.

📄 このページの紹介文は AI が独自に生成したものであり、著作権をはじめとする他者の権利(商標権・名誉権・プライバシー等)を侵害しないよう配慮しています。動画の著作権は各作成者に帰属します。