AI Image Generation & Editing

•
3
•

Generates and edits high-quality illustrations, concept art, and visual assets using leading AI models via OpenRouter.

The AI Image Generation skill equips Claude Code with the ability to create new images and modify existing visuals using cutting-edge models such as FLUX.2 Pro and Gemini 3.1 Flash Image Preview via OpenRouter. Ideal for generating realistic photos, marketing graphics, documentation figures, and presentation backgrounds, this skill provides a fast, script-based workflow that supports prompt-based text-to-image synthesis, localized image edits, model customization, and automated local file output.

Key Features

01Direct environment variable integration with OpenRouter API keys
02Text-to-image generation powered by FLUX.2 and Gemini models via OpenRouter
03Configurable model selection balancing visual fidelity, speed, and cost
043 GitHub stars
05Automatic image format decoding and local PNG export
06Image-to-image editing to alter backgrounds, add objects, or refine visuals

Use Cases

01Produce conceptual scientific and technical artwork for papers and posters
02Edit existing product photos or screenshots by applying natural language instructions
03Generate custom illustrations and hero visuals for documentation, slides, and websites