skills/smithery.ai/openrouter-image-generation

openrouter-image-generation

Installation
SKILL.md

OpenRouter Image Generation Response Format

Problem

When using OpenRouter's image generation models (like google/gemini-2.5-flash-image), the response format differs from expectations. Images are not returned in the standard location, causing parsing failures.

Context / Trigger Conditions

  • Using OpenRouter API (https://openrouter.ai/api/v1/chat/completions) for image generation
  • Model is an image generation model (e.g., google/gemini-2.5-flash-image)
  • Response returns 200 OK but no image found in expected location
  • Looking for image URL or base64 data and not finding it

Solution

Installs
2
First Seen
Mar 30, 2026
openrouter-image-generation from smithery.ai