Developer Builds Stateful AI Image-Editing Skill for Kiro Using Google Gemini API
A developer has released nb2lite-skill-kiro, an open-source project that integrates Google's Gemini gemini-3.1-flash-lite-image model into Kiro, an AI coding assistant, as a reusable skill. The project leverages Google's Interactions API, which maintains visual context server-side across multiple conversational turns, allowing users to iteratively edit an image without re-describing the entire scene each time. It is packaged as a FastMCP server exposing four tools, using the Model Context Protocol (MCP) so any compatible AI client can access the capability without custom integration work. The skill handles practical edge cases such as chaining the correct interaction ID per turn, enforcing aspect ratio consistency, and filtering unsupported thinking-level parameters that the live API rejects. The project was announced on DEV Community and notably used its own image-generation tool to produce the article's cover image.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in