ce-gemini-imagegen

Create and edit images using Google's Gemini API.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Santiagoisper/BOPE_VERSION_DEFINITIVA --skill ce-gemini-imagegen-santiagoisper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ce-gemini-imagegen
Source: https://github.com/Santiagoisper/BOPE_VERSION_DEFINITIVA/tree/main/.agents/skills/compound-engineering/ce-gemini-imagegen
Command: npx skills add https://github.com/Santiagoisper/BOPE_VERSION_DEFINITIVA --skill ce-gemini-imagegen-santiagoisper

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill addresses the challenge of creating and editing images efficiently by leveraging Google's Gemini API, eliminating the need for manual image creation and offering advanced editing capabilities.

Core Features & Use Cases

  • Image Generation: Generate a wide range of images from text prompts.
  • Image Editing: Edit existing images by adding elements, altering styles, or refining details.
  • Style Transfers: Apply artistic styles to existing images.
  • Multi-Turn Refinement: Iteratively refine images through conversational prompts.
  • Use Case: For designers and marketers looking to create custom visual content quickly, this skill can generate and edit images to suit specific campaigns or brand guidelines.

Quick Start

Generate an image using the prompt 'a futuristic cityscape with neon lights'.

Frequently Asked Questions about ce-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?

Text-to-image generation using the Gemini API requires the google-genai library and a valid GEMINI_API_KEY. You provide a text prompt, and the API programmatically creates the corresponding image.

Can I iteratively refine an existing image instead of regenerating it?

Yes, image refinement supports multi-turn conversational prompts. You can iteratively edit existing images by adding elements, altering styles, or refining details without starting from scratch.

Do I need a specific environment setup to run image editing with the Gemini API?

Image editing requires the google-genai library, the Pillow dependency for image processing, and a valid GEMINI_API_KEY environment variable configured in your system.

What is the best way to apply artistic style transfers to an existing image?

Style transfer is handled directly through the Gemini API by providing the source image and a target style prompt. The API programmatically applies the artistic style to your existing image.

Are there limitations when using the Gemini API for programmatic image generation?

Limitations depend on your Gemini API access tier and rate limits. Successful image generation and refinement require maintaining a valid GEMINI_API_KEY and managing API quotas.

Does ce-gemini-imagegen work for creating visual content for marketing campaigns?

Yes, it generates and edits custom visual content quickly for specific campaigns or brand guidelines. Designers and marketers can use text prompts to create tailored images programmatically.