openrouter-imagegen

Installation
SKILL.md

OpenRouter Image Generation

Generate or edit images through OpenRouter using the bundled CLI at scripts/openrouter_image_gen.py. Prefer this skill when the user explicitly wants OpenRouter, wants one of the supported models, or needs image input plus text in the same request. Prefer saving outputs directly into codebase asset folders when possible so generated files are immediately usable by the project.

When to use

  • Generate a new image with OpenRouter
  • Edit or transform an image by attaching one or more input images plus text
  • Switch between the supported models without rewriting API code
  • Control aspect ratio and image size while enforcing a minimum of 1K
  • Save generated images deterministically to codebase asset folders or a fallback output folder

Supported models

Only use these model IDs unless the skill is explicitly updated:

  • google/gemini-3.1-flash-image-preview
  • google/gemini-3-pro-image-preview
Installs
2
First Seen
Jun 29, 2026