Back to feed
Dev.to
Dev.to
7/22/2026
Teaching Claude Code to Paint: A Stateful Image-Editing Skill Built on Gemini's Interactions API and MCP

Teaching Claude Code to Paint: A Stateful Image-Editing Skill Built on Gemini's Interactions API and MCP

Short summary

nb2lite-skill-claude wraps Google's gemini-3.1-flash-lite-image model in a FastMCP server packaged as a Claude Code skill, enabling stateful image generation and iterative editing within coding sessions. The Interactions API preserves visual context across turns so you can say 'add a lantern' instead of re-describing the entire scene. The repo exposes four MCP tools: generate_image, edit_image, edit_local_image, and one more, all chainable via interaction IDs.

  • Wraps Gemini's stateful image model in an MCP server for Claude Code
  • Interactions API preserves visual context across turns for iterative editing
  • Ships as FastMCP server with four tools plus a Claude Code skill package

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more