generate-image

Generate and edit images using OpenRouter AI models with prompts and input images.

94|11|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/swaruplab/operon --skill generate-image-swaruplab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: generate-image
Source: https://github.com/swaruplab/operon/tree/main/src-tauri/protocols/generate-image
Command: npx skills add https://github.com/swaruplab/operon --skill generate-image-swaruplab

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Image generation and editing with AI can be time-consuming and requires selecting appropriate models and tools; this skill simplifies generating or editing visuals using AI models.

Core Features & Use Cases

  • Supports generation and editing with OpenRouter's image generation models including Gemini 3.1 Flash Image Preview and FLUX variants.
  • Lets you specify a prompt, choose a model, and optionally upload an input image to edit.
  • Common use cases include creating marketing visuals, concept art, social media assets, and presentation graphics.

Quick Start

Run python scripts/generate_image.py 'A cat in space' to generate a new image.

Frequently Asked Questions about generate-image

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

FAQPage Schema
How do I generate and edit images using AI models?▼

To generate and edit images using AI models, you provide a text prompt, select a model, and optionally upload an input image. This skill automates the process to create promotional visuals, concept art, and presentation graphics.

Do I need an OpenRouter API key to generate images?▼

Yes, you need an OpenRouter API key to generate images. This key authorizes access to OpenRouter's AI models, which handle the actual generation and editing of your requested visuals.

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

Yes, you can edit an existing image with FLUX models. The tool supports both generation and editing by allowing you to specify a prompt alongside an optional input image for modification.

What's the best way to automate image generation for marketing visuals?▼

The best way to automate image generation for marketing visuals is running the provided Python script with a descriptive prompt. This leverages OpenRouter's AI models to quickly produce assets.

Which AI models are supported for image generation and editing tasks?▼

Supported AI models for image generation and editing tasks include Gemini 3.1 Flash Image Preview and FLUX variants. You can choose between these models during the generation process.