Agent skill

Openrouter Img

by rtadewald in rtadewald/skills

Generate or edit images via OpenRouter Image API across top models (Nano Banana, GPT Image, FLUX.2, Seedream, Qwen, Grok).

No licenceAuto-check: notesMedia & Creative

Install Openrouter Img

skills CLI
$ npx skills add rtadewald/skills --skill openrouter-img -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rtadewald/skills openrouter-img --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rtadewald/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/openrouter-img .claude/skills/openrouter-img && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openrouter-img
GitHub stars
185
Token cost
~800 tokens
SKILL.md length
271 words
Files
3 (incl. scripts)
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

Generate or edit images via OpenRouter Image API across top models (Nano Banana, GPT Image, FLUX.2, Seedream, Qwen, Grok).

  • The user mentions openrouter-img
  • SKILL.md covers Uso, Modelos empregados (top 10), Tabela de custo (consulta) and Escolha rápida
  • Runs Python scripts from its folder; calls uv; needs OPENROUTER_API_KEY
  • OpenRouter image gen

What it does

Openrouter Img is an agent skill from rtadewald/skills. Generate or edit images via OpenRouter Image API across top models (Nano Banana, GPT Image, FLUX.2, Seedream, Qwen, Grok). Use when the user mentions openrouter-img, OpenRouter image gen, or wants to pick among top image models.

Its SKILL.md is about 800 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `agents/openai.yaml` and `scripts/generate_image.py`).

It sits in Media & Creative, covering Model routing and gateways and Image generation. It works with OpenRouter, Google Gemini and Qwen. The repository describes itself as: Skills e fluxos que uso nos meus agentes.

When your agent uses it

  • The user mentions openrouter-img
  • OpenRouter image gen
  • Wants to pick among top image models

Example prompts

  • “/openrouter-img”

Requirements

  • Python 3
  • A credential in OPENROUTER_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 99d0b39. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENROUTER_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Openrouter Img loads about 800 tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 271 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~800

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:12
    ges`). Chave: `OPENROUTER_API_KEY` (cwd `.env` ou `~/.env`).

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 271 words (~800 tokens).

“Gera imagens pela Image API do OpenRouter (POST /api/v1/images). Chave: OPENROUTER_API_KEY (cwd .env ou ~/.env).”

— opening of SKILL.md by rtadewald
name
openrouter-img
disable-model-invocation
true

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts) in openrouter-img of rtadewald/skills.

  • SKILL.md
  • agents/openai.yaml
  • scripts/generate_image.py

Open the folder on GitHubat commit 99d0b39

Compare with similar skills

Openrouter Img next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openrouter Img compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openrouter Img this skillrtadewald/skills185—~800Automated safety check: NotesNone
AI Image Creatorevolution-foundation/evo-nexus545—~5.1kAutomated safety check: NotesCustom licence
Image Genwpsnote/wpsnote-skills179—~1.3kAutomated safety check: PassNone
Nano Banana Pro Openroutergithub/awesome-copilot40k1 repos~664Automated safety check: PassMIT
AI Image Creatorcentminmod/my-claude-code-setup2.7k—~8.1kAutomated safety check: NotesMIT
Generate ImageK-Dense-AI/claude-scientific-writer2.4k1 repos~3.8kAutomated safety check: NotesMIT

Similar skills

  • AI Image Creator

    evolution-foundation/evo-nexus

    Generates PNG images through OpenRouter models, with transparent backgrounds and reference-image edits, and describes existing images with multimodal vision.

    545 GitHub stars~5.1k tokensUpdated 4 mo ago
    Media & CreativeAuto-check: notes
  • Image Gen

    wpsnote/wpsnote-skills

    AI 图像生成助手,支持文生图和图生图,对接 OpenRouter / 阿里云百炼 / 火山方舟 / Google Gemini。

    179 GitHub stars~1.3k tokensUpdated 4 mo ago
    Media & CreativeAuto-check passed
  • Nano Banana Pro Openrouter

    github/awesome-copilot

    Official

    Generate or edit images via OpenRouter with the Gemini 3 Pro Image model.

    40k GitHub starsUsed in 1 repo~664 tokens
    Media & CreativeAuto-check passed
  • AI Image Creator

    centminmod/my-claude-code-setup

    Generate, edit-from-reference, or analyze images with AI via OpenRouter (Gemini, GPT Image, Seedream, Qwen, MAI, Grok, FLUX.2, Recraft, Muse, Riverflow; Cloudflare AI Gateway BYOK).

    2.7k GitHub stars~8.1k tokensUpdated 2 days ago
    Media & CreativeAuto-check: notes
  • Generate Image

    K-Dense-AI/claude-scientific-writer

    Generate or edit images with AI models through the OpenRouter Image API (Gemini, Seedream, Recraft, GPT-Image, Riverflow).

    2.4k GitHub starsUsed in 1 repo~3.8k tokens
    Media & CreativeAuto-check: notes
  • Infographics

    K-Dense-AI/scientific-agent-skills

    Creates and reviews infographics with Nano Banana 2 via OpenRouter.

    48k GitHub starsUsed in 1 repo~3.8k tokens
    Media & CreativeAuto-check: notes

More from rtadewald/skills

All 8 skills in this repo
  • Fal AI

    rtadewald/skills

    Call fal.ai Model APIs (auth, upload, subscribe/queue, parse responses).

    185 GitHub stars~1.2k tokensUpdated 11 days ago
    Auto-check: notes
  • Nano Banana Pro

    rtadewald/skills

    Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API.

    185 GitHub stars~1.2k tokensUpdated 11 days ago
    Auto-check: notes
  • To Wireframe

    rtadewald/skills

    Cria um wireframe tipado e aninhado de uma imagem ou brief de tela, em ASCII ou SVG conforme format=ascii|svg informado pelo usuário.

    185 GitHub stars~1.5k tokensUpdated 11 days ago
    Auto-check passed
  • Img To HTML

    rtadewald/skills

    Recria um mock de UI (imagem) como HTML + CSS + JS estáticos (sem framework), em etapas com aprovação do usuário: wireframe ASCII tipado com plano → fundo completo → componentes com fontes → assets…

    185 GitHub stars~3.6k tokensUpdated 11 days ago
    Auto-check: notes
  • Plan Screen

    rtadewald/skills

    Ajuda o usuário a planejar uma tela ou fluxo de aplicativo, comparar três propostas com wireframes e, após aprovação, gerar mocks em paralelo.

    185 GitHub stars~2k tokensUpdated 11 days ago
    Auto-check passed
  • To Img

    rtadewald/skills

    Gera imagens em paralelo via OpenRouter a partir de um pedido simples ou de um batch com prompts e filenames definidos.

    185 GitHub stars~673 tokensUpdated 11 days ago
    Auto-check: notes

Questions about Openrouter Img

What does Openrouter Img do?

Generate or edit images via OpenRouter Image API across top models (Nano Banana, GPT Image, FLUX.2, Seedream, Qwen, Grok). Openrouter Img is an agent skill from rtadewald/skills.2, Seedream, Qwen, Grok).

When should I use Openrouter Img?

Openrouter Img fits situations like: the user mentions openrouter-img; openRouter image gen; wants to pick among top image models.

How do I install Openrouter Img in Claude Code?

Run `npx skills add rtadewald/skills --skill openrouter-img -a claude-code`. Or copy the skill folder (openrouter-img in rtadewald/skills) into .claude/skills/openrouter-img in your project. Claude Code loads it when a task matches its description.

How do I install Openrouter Img in Codex?

Run `npx skills add rtadewald/skills --skill openrouter-img -a codex`. Or copy the skill folder (openrouter-img in rtadewald/skills) into .agents/skills/openrouter-img in your project. Codex loads it when a task matches its description.

Can I use Openrouter Img in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rtadewald/skills --skill openrouter-img -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openrouter-img, .gemini/skills/openrouter-img, .github/skills/openrouter-img and .opencode/skills/openrouter-img in your project.

What does Openrouter Img need to run?

Going by SKILL.md and its folder, Openrouter Img needs Python for the scripts in its folder, the command-line tools its instructions call (uv) and credentials named OPENROUTER_API_KEY. Our summary lists: Python 3; A credential in OPENROUTER_API_KEY.

Does Openrouter Img access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Openrouter Img safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Openrouter Img use?

No licence was found for Openrouter Img or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Openrouter Img use?

About 800 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Openrouter Img?

Skills that share tags, products or a category with Openrouter Img: AI Image Creator (evolution-foundation/evo-nexus, 545 stars), Image Gen (wpsnote/wpsnote-skills, 179 stars), Nano Banana Pro Openrouter (github/awesome-copilot, 40k stars) and AI Image Creator (centminmod/my-claude-code-setup, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openrouter Img?

rtadewald (a GitHub user) maintains it in rtadewald/skills, which has 185 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 28, 2026.

Source: rtadewald/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.