Back to Skills

generate-image

Generate or edit images using AI models (FLUX, Gemini). Use for general-purpose image generation including photos, illustrations, artwork, visual assets, concept art, and any image that is not a technical diagram or schematic. For flowcharts, circuits, pathways, and technical diagrams, use the scientific-schematics skill instead.

6,195stars743forksUpdated 1/16/2026

Security Assessment

Medium Risk(50/100)

Detected risks:

Secret Exposure([SKILL.md] API_KEY=)
Sensitive File Access([SKILL.md] .env)
Security Score50/100

About generate-image

The 'generate-image' skill is designed to facilitate the creation and editing of high-quality images using advanced AI models such as FLUX and Gemini. This skill addresses the need for users to generate visually appealing images for various purposes, including artistic projects, presentations, and social media content. By leveraging AI capabilities, users can create unique images based on textual descriptions, effectively transforming ideas into visual representations with minimal effort and technical knowledge required.

FAQ

What types of images can I generate using this skill?

You can generate photos, artistic illustrations, concept art, and visual assets for presentations.

Do I need an API key to use this skill?

Yes, the script requires an OpenRouter API key which must be set up before use.

Can I edit existing images with this skill?

Yes, you can use the skill to modify existing images by providing specific editing instructions.

What are the limitations of the generate-image skill?

This skill is not suitable for generating technical diagrams or schematics; for those, use the scientific-schematics skill.

Which models are available for image generation and editing?

The default model is google/gemini-3-pro-image-preview, and you can also use black-forest-labs/flux.2-pro for high-quality generation and editing.

Install generate-image

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill