gemini-imagegen

Generate and edit images using the Gemini API with text prompts.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/drhazemibclc/plate --skill gemini-imagegen-drhazemibclc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-imagegen
Source: https://github.com/drhazemibclc/plate/tree/main/.codex/skills/gemini-imagegen
Command: npx skills add https://github.com/drhazemibclc/plate --skill gemini-imagegen-drhazemibclc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, google-genai, and includes scripts (resource) components.

What problem does it solve?

Generate and edit images using the Gemini API to streamline visual-content creation.

Core Features & Use Cases

  • Text-to-image generation: Create visuals from natural language prompts.
  • Image editing and refinement: Modify existing images with iterative prompts and multi-turn interactions.
  • Composition from multiple references: Combine elements from several inputs to produce a cohesive result.

Quick Start

Provide a text prompt to generate an image using Gemini.

Frequently Asked Questions about gemini-imagegen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate images from text prompts using the Gemini API?

Generate images from text prompts by providing natural language inputs to the Gemini API, which uses GenerateContentConfig with response_modalities settings to produce visual content directly from text.

Can I use multi-turn refinement for image editing with Gemini?

Yes, multi-turn refinement allows iterative image editing with Gemini by applying sequential prompts to modify existing images, enabling style transfer and visual-content modifications through continuous conversational interactions.

Do I need a GEMINI_API_KEY to generate images with Gemini models?

Yes, you need a GEMINI_API_KEY to authenticate requests and generate images using supported models like gemini-2.5-flash-image and gemini-3-pro-image-preview within your text-to-image and composition workflows.

How do I combine multiple image references to create a single composition?

Combine multiple image references for a cohesive composition by passing several inputs to the Gemini API, utilizing multi-turn interactions and Pillow dependencies to merge elements into a single generated output.

What design tasks are supported by Gemini image generation?

Gemini image generation supports text-to-image prompts, iterative image editing, style transfer, logos, stickers, and product mockups, streamlining visual-content creation through natural language instructions.