generate-image

Generate and edit images via OpenRouter AI models with optional input images.

15|2|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/rubensliv/k-dense-ai --skill generate-image-rubensliv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-image
Source: https://github.com/rubensliv/k-dense-ai/tree/main/scientific-skills/generate-image
Command: npx skills add https://github.com/rubensliv/k-dense-ai --skill generate-image-rubensliv

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Generate and edit high-quality images using AI models, streamlining visual creation for professionals and hobbyists.

Core Features & Use Cases

  • Generate high-quality images using OpenRouter models (Gemini 3 Pro Image Preview, Flux Pro) for photos, art, concept visuals.
  • Edit existing images via prompts and input images to produce refined visuals.
  • Manage API keys securely and support model selection for best balance of quality and cost.

Quick Start

Generate a photorealistic sunset image of mountains.

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 AI images using OpenRouter models?

To generate and edit AI images using OpenRouter models, you provide a text prompt and an optional input image to the script. The tool processes the request via the OpenRouter API and saves the resulting visual to disk.

Do I need an OpenRouter API key to generate concept art and product mockups?

Yes, an OpenRouter API key is required to generate concept art and product mockups. The script uses this key to securely access AI image models like Gemini 3 Pro Image Preview and Flux Pro.

Can I edit existing images via prompts instead of starting from scratch?

Yes, you can edit existing images via prompts by providing an optional input image. The AI modifies the original photo or scientific illustration based on your text instructions to produce refined visuals.

What is the best way to manage API keys when generating marketing visuals?

The best way to manage API keys when generating marketing visuals is through the script's secure management features. This ensures your OpenRouter credentials remain protected while switching between models for quality and cost balance.

Does the image generation script support model selection for different visual styles?

Yes, the image generation script supports model selection through the code. You can choose between OpenRouter models like Flux Pro and Gemini 3 Pro Image Preview to match your desired photography or concept art style.