openrouter-image-generation
CommunityReliably extract OpenRouter image responses.
Software Engineering#api#openrouter#image-generation#data-extraction#ai-models#base64#response-parsing
Authorstrataga
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Fixes parsing issues when using OpenRouter image generation responses, ensuring images are correctly extracted from the response and decoded from base64 when needed.
Core Features & Use Cases
- Corrects endpoint usage by using the chat/completions endpoint instead of /images/generations.
- Extracts images from the message.images array and decodes base64 data URLs to usable images.
- Supports models like google/gemini-2.5-flash-image and similar OpenRouter image generation APIs.
Quick Start
Provide the first image from an OpenRouter image generation response by locating it in choices[0].message.images and decoding the base64 data URL.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: openrouter-image-generation Download link: https://github.com/strataga/claude-setup/archive/main.zip#openrouter-image-generation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.