gemini-imagegen

Generate and edit images via the Gemini Image API.

1|1|Updated Jan 2, 2026
One-click install
npx skills add https://github.com/nbbaier/compound-engineering-amp --skill gemini-imagegen-nbbaier
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-imagegen
Source: https://github.com/nbbaier/compound-engineering-amp/tree/main/skills/gemini-imagegen
Command: npx skills add https://github.com/nbbaier/compound-engineering-amp --skill gemini-imagegen-nbbaier

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai>=1.0.0, Pillow>=10.0.0, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables generating and editing images via Gemini's Gemini Image API, supporting text-to-image, image editing, and multi-turn refinement across reference images.

Core Features & Use Cases

  • Text-to-image generation from prompts
  • Image editing with iterative refinements
  • Multi-turn composition from multiple reference images
  • Grounding options (aspect ratio, resolution, etc.) and prompts management

Quick Start

Generate a basic image from a text prompt using the default Gemini model and save it to disk.