AI-powered image generation and editing using Google Gemini, Google Imagen, and OpenAI models. Generate images from text descriptions, edit existing images, create logos/stickers, apply style transfers, and produce product mockups. Use this skill when the user requests: - Image generation from text descriptions - Image editing or modifications - Logos, stickers, or graphic design assets - Product mockups or visualizations - Style transfers or artistic effects - Iterative image refinement Available models: - Google Gemini: gemini-2.5-flash-image (Nano Banana), gemini-3-pro-image-preview (Nano Banana Pro) - Google Imagen: imagen-4.0-generate-001, imagen-4.0-ultra-generate-001, imagen-4.0-fast-generate-001 - OpenAI: gpt-image-1.5 (recommended), gpt-image-1, dall-e-3, dall-e-2 Inspired by: https://github.com/EveryInc/every-marketplace/tree/main/plugins/compounding-engineering/skills/gemini-imagegen
Important (December 2025): This skill now uses the
google-genaiSDK. Thegoogle-generativeaipackage has been deprecated. See migration guide.
AI-powered image generation and editing using Google Gemini, Imagen, and OpenAI models.
This skill enables Claude Code to generate and edit images using state-of-the-art AI models from Google (Gemini) and OpenAI (DALL-E). Create photorealistic images, illustrations, logos, product mockups, and artistic compositions from natural language descriptions. Edit existing images with text instructions, apply style transfers, and refine outputs through iterative conversation.
Attribution: This skill is inspired by the gemini-imagegen skill from Every Marketplace by Every Inc. We're grateful for their pioneering work in AI image generation skills.
# Install the skill from the skillz repository
skillz install image-generation
# Or copy to your project
cp -r skills/creative/image-generation .claude/skills/
API Keys:
# Set environment variables
export GEMINI_API_KEY="your-gemini-api-key"
export OPENAI_API_KEY="your-openai-api-key"
Python Dependencies:
pip install google-genai openai pillow requests
Once installed, simply ask Claude to generate or edit images:
"Generate a professional headshot for LinkedIn"
"Create a logo for a coffee shop called Mountain Peak Coffee"
"Change the background of this photo to a beach sunset"
"Make this landscape look like it was painted by Van Gogh"
Claude will automatically:
Generate images from natural language descriptions:
Modify existing images with text instructions:
Refine images through conversation:
Professional business headshot, confident expression, neutral gray background,
soft studio lighting, shot on 85mm lens, shallow depth of field, high quality
Cute robot character, kawaii style, pastel colors, bold outlines, cel-shading,
cheerful expression, sticker format with white border, children's illustration
Tech startup logo, minimalist geometric design, abstract network nodes, blue
and silver gradient, professional, vector style, clean modern aesthetic
Wireless earbuds with charging case, professional product photography, white
seamless background, studio lighting, 3/4 angle view, clean composition,
commercial e-commerce quality
Mountain valley at sunset, mist over alpine lake, pine trees, warm golden light,
peaceful atmosphere, professional landscape photography, 24mm wide angle, high detail
Choose gpt-image-1.5 (Recommended) when:
Choose Gemini Flash when:
Choose Gemini Pro when:
Choose Imagen 4 Fast when:
Choose Imagen 4/Ultra when:
Choose DALL-E 3 when:
Choose gpt-image-1 when:
Detailed prompts produce better, more consistent results.
Vague: "A nice landscape" Specific: "Mountain valley at sunrise, mist over lake, pine trees, warm golden light, peaceful"
Always specify the artistic style or photographic approach.
Examples: photorealistic, digital illustration, oil painting, 3D render, vintage photography
Lighting dramatically affects mood and quality.
Examples: golden hour lighting, studio lighting, dramatic side lighting, soft diffused light
Guide how elements should be arranged.
Examples: centered composition, rule of thirds, close-up, wide angle, overhead view
Use conversation to refine results progressively rather than starting over.
Both Google and OpenAI have content policies that prohibit:
Keep prompts appropriate and focused on original creative content.
This skill was inspired by the gemini-imagegen skill from Every Inc.'s marketplace:
plugins/compounding-engineering/skills/gemini-imagegenThis implementation extends the original concept by:
This skill follows the skillz repository license. The original gemini-imagegen concept belongs to Every Inc.
Found ways to improve this skill? Contributions welcome:
v1.2.0 (2025-12-29) - SDK Migration
google-generativeai to google-genai SDKv1.1.0 (2025-12-XX) - New Models
v1.0.0 (2025-01-23) - Initial release
For issues or questions:
Happy generating! 🎨✨
Built with inspiration from Every Inc.'s gemini-imagegen skill
Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro).
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Generate spectrograms and feature-panel visualizations from audio with the songsee CLI.
Extract frames or short clips from videos using ffmpeg.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.
Category:media-generate