generate-image

Generate and edit images using OpenRouter AI models.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/m0at/claudemd --skill generate-image-m0at
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: generate-image
Source: https://github.com/m0at/claudemd/tree/main/skills/generate-image
Command: npx skills add https://github.com/m0at/claudemd --skill generate-image-m0at

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

This skill enables quick creation and modification of images using AI models, freeing you from manual drawing or stock-approval cycles and enabling rapid visual content generation.

Core Features & Use Cases

  • Image generation and editing with OpenRouter models (Gemini 3 Pro Image Preview and Flux.2 Pro)
  • Flexible prompts and input-image based editing to produce high-quality visuals for presentations, marketing materials, or concept art
  • Model selection, output controls, and safe default configurations to balance quality and cost

Quick Start

Run the script to generate or edit an image using your prompt.

Frequently Asked Questions about generate-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate AI images from text prompts using OpenRouter?▼

To generate AI images from text prompts using OpenRouter, run the script with your prompt to create high-quality photos or illustrations. It uses your API key to process the request and saves the resulting image directly to disk.

Can I edit an existing image with AI instead of generating a new one?▼

Yes, you can edit an existing image with AI by providing the input image alongside your prompt. The script supports input-image based editing to modify photos or visual concepts for presentations and marketing materials.

What AI models are supported for prompt-based image generation?▼

The supported AI models for prompt-based image generation are Gemini 3 Pro Image Preview and Flux.2 Pro. It offers multi-model support through OpenRouter, allowing you to select the model that best balances quality and cost.

Do I need an API key to use OpenRouter for image editing?▼

Yes, you need an OpenRouter API key to use the image editing and generation features. The script requires API-key usage to authenticate your requests and apply safe default configurations for your visual content.

What is the best way to save AI-generated images to disk?▼

The best way to save AI-generated images to disk is using this script, which automatically handles saving the resulting image locally after generation. This enables rapid visual content generation without manual file management.