
Generate Image
AI image generation and editing via FLUX.2 and Gemini models for photos, illustrations, and concept art.
- skills.sh installs
- 1.4K
- GitHub stars
- 34.1K
- last updated
- Aug 21, 2026
What it does
- Covers image generation and editing through OpenRouter, using
scripts/generate_image.pywith an optional--inputimage for edit mode - Offers models including
google/gemini-3-pro-image-preview,black-forest-labs/flux.2-pro, and the cheaperblack-forest-labs/flux.2-flexfor generation only - Requires an
OPENROUTER_API_KEYin a.envfile or environment variable and reports clear errors when it is missing - Designed for general visual content, routing technical diagrams, flowcharts, and pathways to the scientific-schematics skill instead
Install
$ npx -y skills add davila7/claude-code-templates --skill generate-image -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Generate Image
Generate and edit high-quality images using OpenRouter's image generation models including FLUX.2 Pro and Gemini 3 Pro.
When to Use This Skill
Use generate-image for:
- Photos and photorealistic images
- Artistic illustrations and artwork
- Concept art and visual concepts
- Visual assets for presentations or documents
- Image editing and modifications
- Any general-purpose image generation needs
Use scientific-schematics instead for:
- Flowcharts and process diagrams
- Circuit diagrams and electrical schematics
- Biological pathways and signaling cascades
- System architecture diagrams
- CONSORT diagrams and methodology flowcharts
- Any technical/schematic diagrams
Quick Start
Use the scripts/generate_image.py script to generate or edit images:
# Generate a new image
python scripts/generate_image.py "A beautiful sunset over mountains"
# Edit an existing image
python scripts/generate_image.py "Make the sky purple" --input photo.jpg
This generates/edits an image and saves it as generated_image.png in the current directory.
API Key Setup
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- AI Image, Video & Voice, Design & UI/UX
More from davila7/claude-code-templates
All 398- Marketing Strategy Pmm1.4K
- 3d Web Experience1.4K
- Senior Devops1.4K
- Mermaid Diagram Specialist1.4K
- Ux Researcher Designer1.3K
- Senior Qa1.2K
- Senior Architect1.2K
- Scientific Schematics1.2K
- Jira1.2K
- Senior Fullstack1.2K
- Senior Computer Vision1.2K
- Google Analytics1.2K
- Video Downloader1.2K
- Clean Code1.1K
- Scientific Critical Thinking1.1K
- Matplotlib1.1K
- Scientific Brainstorming1.1K
- Mui1.1K
- Modal Serverless Gpu1.1K
- Ceo Advisor1.1K
- Plotly1.1K
- Conversation Memory1K
- Senior Prompt Engineer1K
- Senior Security989
Similar to Generate Image
More AI Image, Video & Voice
image-generation-skillsPluginConardLi/garden-skills15.4K starsSkills for image generation and editing with GPT Image 2 (and OpenAI-compatible image endpoints), with three runtime modes and 70+ structured prompt templates.
imagegenSkillnexu-io/open-design2.9K installsImage generation skill for project assets, using OpenAI's Image API for mockups, icons, and social cards.
imageSkillcoreyhaines31/marketingskills99.3K installsCatalog skill for generating, editing, and optimizing marketing images across AI models, design tools, and web optimization.
ai-image-generationSkillruncomfy-com/skills394.5K installsSmart router across 11+ image models via the runcomfy CLI, picking the right one for each intent.
ai-image-generatorSkilljezweb/claude-skills1.4K installsAI image generation skill for Gemini and GPT Image models, covering model selection, prompting, and API calls.
Mcp ImageMCP servershinpr195 starsGenerates and edits images via Gemini, OpenAI, or BytePlus Seedream, with optional prompt enhancement.