Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
sanjay3290 avatar

Imagen

  • 507 installs
  • 364 repo stars
  • Updated July 9, 2026
  • sanjay3290/ai-skills

imagen is a Claude Code skill that generates images through Google Gemini's gemini-3-pro-image-preview model for developers who need UI mockups, icons, diagrams, and visual assets inside coding sessions.

About

imagen is version 1.0 of a sanjay3290/ai-skills Apache-2.0 skill that creates images using Google Gemini's `gemini-3-pro-image-preview` image generation model during Claude Code sessions. Developers invoke imagen for UI mockups, icons, illustrations, diagrams, concept art, or placeholder visuals while building frontends or writing documentation. The skill removes context switching to external design tools for quick asset iteration. Reach for imagen when a session needs generated visuals tied to feature work rather than stock photo searches or manual Figma exports.

  • Generates images using gemini-3-pro-image-preview model
  • Saves output directly to your project directory with returned file path
  • Cross-platform support for Windows, macOS, and Linux
  • Activates automatically on prompts like "generate an image of..." or "create a picture..."
  • Supports UI mockups, icons, illustrations, diagrams, concept art, and placeholders

Imagen by the numbers

  • 507 all-time installs (skills.sh)
  • +12 installs in the week ending Jul 26, 2026 (Skillselion tracking)
  • Ranked #402 of 1,335 Generative Media skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/sanjay3290/ai-skills --skill imagen

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs507
repo stars364
Last updatedJuly 9, 2026
Repositorysanjay3290/ai-skills

How do you generate images inside Claude Code?

Generate images on demand directly inside Claude Code sessions for UI mockups, diagrams, icons, and visual assets.

Who is it for?

Developers in Claude Code who need fast Gemini-generated visuals for UI mockups, docs diagrams, or placeholder assets without leaving the editor.

Skip if: Production brand asset pipelines requiring strict style guides, print resolution workflows, or non-Gemini image model requirements.

When should I use this skill?

A developer asks to create, generate, or produce images for mockups, icons, illustrations, diagrams, or visual placeholders.

What you get

Generated image files for mockups, icons, illustrations, diagrams, or concept art saved from the Claude session.

  • generated image files
  • ui mockup or diagram assets

By the numbers

  • Skill version 1.0 under Apache-2.0 license
  • Uses gemini-3-pro-image-preview image generation model

Files

SKILL.mdMarkdownGitHub ↗

Imagen - AI Image Generation Skill

Overview

This skill generates images using Google Gemini's image generation model (gemini-3-pro-image-preview). It enables seamless image creation during any Claude Code session - whether you're building frontend UIs, creating documentation, or need visual representations of concepts.

Cross-Platform: Works on Windows, macOS, and Linux.

When to Use This Skill

Automatically activate this skill when:

  • User requests image generation (e.g., "generate an image of...", "create a picture...")
  • Frontend development requires placeholder or actual images
  • Documentation needs illustrations or diagrams
  • Visualizing concepts, architectures, or ideas
  • Creating icons, logos, or UI assets
  • Any task where an AI-generated image would be helpful

How It Works

1. Takes a text prompt describing the desired image 2. Calls Google Gemini API with image generation configuration 3. Saves the generated image to a specified location (defaults to current directory) 4. Returns the file path for use in your project

Usage

Python (Cross-Platform - Recommended)

# Basic usage
python scripts/generate_image.py "A futuristic city skyline at sunset"

# With custom output path
python scripts/generate_image.py "A minimalist app icon for a music player" "./assets/icons/music-icon.png"

# With custom size
python scripts/generate_image.py --size 2K "High resolution landscape" "./wallpaper.png"

Requirements

  • GEMINI_API_KEY environment variable must be set
  • Python 3.6+ (uses standard library only, no pip install needed)

Output

Generated images are saved as PNG files. The script returns:

  • Success: Path to the generated image
  • Failure: Error message with details

Examples

Frontend Development

User: "I need a hero image for my landing page - something abstract and tech-focused"
-> Generates and saves image, provides path for use in HTML/CSS

Documentation

User: "Create a diagram showing microservices architecture"
-> Generates visual representation, ready for README or docs

UI Assets

User: "Generate a placeholder avatar image for the user profile component"
-> Creates image in appropriate size for component use

Related skills

Forks & variants (1)

Imagen has 1 known copy in the catalog totaling 29 installs. They canonicalize to this original listing.

How it compares

Use imagen for quick Gemini-generated session visuals instead of exporting from design tools when fidelity requirements are exploratory.

FAQ

Which model does imagen use?

imagen uses Google Gemini's `gemini-3-pro-image-preview` image generation model. The skill is version 1.0 under Apache-2.0 from sanjay3290/ai-skills for Claude Code sessions.

What can imagen generate?

imagen creates UI mockups, icons, illustrations, diagrams, concept art, and placeholder images on demand. Invoke it whenever a Claude Code session needs visual assets alongside frontend or documentation work.

Generative Mediaautomationagents

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.