image-generation
AI-powered image generation and editing using Gemini. Use when Claude needs to: (1) Generate images from text descriptions, (2) Edit existing images with instructions, (3) Create infographics or charts, (4) Generate visual assets for reports/presentations, (5) Work with .png, .jpg, .jpeg, .webp files for editing.
npx skills add majiayu000/claude-skill-registry --skill image-generation-kjdragan-universal-agent-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Image Generation & Editing ## Overview Generate and edit images using Gemini 2.5 Flash Image model via MCP tools. ## Quick Start ### Text-to-Image Generation ```python result = generate_image( prompt="A modern infographic showing renewable energy statistics", output_dir="/path/to/work_products/media" ) ``` ### Image Editing ```python result = generate_image( prompt="Change the background to a sunset over mountains", input_image_path="/path/to/original.png", output_dir="/path/to/work_products/media" ) ``` ### Preview Generated Image ```python # Auto-launch viewer after generation result = generate_image( prompt="Blue square with rounded corners", preview=True # Opens Gradio viewer ) # Or preview any existing image preview_image("/path/to/image.png") ``` ## Available Tools ### `generate_image` Primary tool for image generation and editing. **Parameters**: - `prompt` (required): Text description or edit instruction - `input_image_path` (optional): Path to source image for editing - `output_dir` (optional): Output directory (defaults to `work_products/media/`) - `output_filename` (optional): Custom filename (auto-generated if not provided) - `preview` (optional): Launch Gradio viewer
- Overview
- Quick Start
- Text-to-Image Generation
- Image Editing
- Preview Generated Image
- Available Tools
- generateimage
- describeimage
- previewimage
- Best Practices
- Prompt Crafting
- Examples
- Integration with Other Skills
- Reports (report-creation-expert)
What does the image-generation skill do?
AI-powered image generation and editing using Gemini. Use when Claude needs to: (1) Generate images from text descriptions, (2) Edit existing images with instructions, (3) Create infographics or charts, (4) Generate visual assets for reports/presentations, (5) Work with .png, .jpg, .jpeg, .webp files for editing.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill image-generation-kjdragan-universal-agent-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
