What problem does it solve? Creating or editing images programmatically requires wiring up API calls, handling response formats, and managing model options. This Skill provides ready-to-use scripts and a Python library for text-to-image generation, image editing, multi-image composition, and iterative refinement through the Gemini API. ## Core Features & Use Cases - Text-to-Image Generation: Create images from prompts with control over aspect ratio (1:1 to 21:9) and resolution (1K, 2K, 4K) using gemini-3-pro-image-preview. - Image Editing & Composition: Edit existing images with natural language instructions or combine up to 14 reference images into a single composition. - Multi-Turn Refinement: Iteratively refine generated images through conversational chat sessions with save, load, and reset commands. - Use Case: Generate a product mockup at 2K resolution, then refine it conversationally by asking to adjust lighting and add a logo, saving each iteration automatically. ## Quick Start Set the GEMINI_API_KEY environment variable and ask the AI to generate an image of your chosen subject using the Gemini image generation skill.