openrouter-imagegen

Generate and edit images via OpenRouter's unified multi-model API.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/allixsenos/claude-stuff --skill openrouter-imagegen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openrouter-imagegen
Source: https://github.com/allixsenos/claude-stuff/tree/main/skills/openrouter-imagegen
Command: npx skills add https://github.com/allixsenos/claude-stuff --skill openrouter-imagegen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of generating and editing images using various AI models through a single API, eliminating the need to manage multiple model integrations.

Core Features & Use Cases

  • Multi-Model Image Generation: Access a wide range of image generation models (e.g., Google Gemini, OpenAI GPT-5, FLUX, Sourceful Riverflow) through OpenRouter's unified API.
  • Image Editing: Modify existing images based on textual instructions.
  • Flexible Configuration: Supports various aspect ratios, image sizes, and model types (text+image or image-only).
  • Use Case: Create a blog post header image in a specific aspect ratio using the best available model, or edit a product photo to add a new background.

Quick Start

Use the openrouter-imagegen skill to generate an image of a futuristic cityscape at sunset with a 16:9 aspect ratio and 2K resolution.

Frequently Asked Questions about openrouter-imagegen

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

FAQPage Schema
How do I generate images with multiple AI models through a single API?

Generate images with multiple AI models via a single API using OpenRouter to access models like Google Gemini, OpenAI GPT-5, and FLUX. This unified API eliminates managing multiple model integrations separately.

Can I edit existing images using AI through an API?

Edit existing images using AI through the OpenRouter API by providing textual instructions. The Skill supports modifying photos for diverse creative tasks, such as adding a new background to a product image.

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

Yes, an OpenRouter API key is required for configuration. You must set up your API key to authenticate requests and utilize the unified API for image generation and editing tasks.

What aspect ratios and image sizes are supported for AI image generation?

The API supports various aspect ratios and image sizes for AI image generation, including 2K resolution. This flexibility allows you to create images formatted for specific outputs like 16:9 blog headers.

How does dynamic model discovery work for image generation?

Dynamic model discovery allows you to access a wide range of image generation models through OpenRouter's unified API. It automatically identifies available models, supporting both text+image and image-only types.

What is the best way to manage multiple AI image model integrations?

The best way to manage multiple AI image model integrations is using a unified API like OpenRouter. It simplifies the process by providing a single endpoint to access various models without managing individual integrations.