Openrouter Img logo

Openrouter Img

Community
rtadewald
openrouter-img

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.

Overview

Publisherrtadewald
Repositoryskills
Skill nameopenrouter-img
Stars
217
Forks
27
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by rtadewald on GitHub. Read the source before you install it.

Installation

Install the Openrouter Img AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/rtadewald/skills/tree/main/openrouter-img
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rtadewald/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/openrouter-img .claude/skills/openrouter-img
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Openrouter Img in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Openrouter Img on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Openrouter Img is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

OpenRouter Img

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

Uso

bash
# Listar top 10 + preços ao vivo do endpoint
uv run ~/.agents/skills/openrouter-img/scripts/generate_image.py --list --top

# Gerar
uv run ~/.agents/skills/openrouter-img/scripts/generate_image.py \
  --prompt "..." --filename "yyyy-mm-dd-hh-mm-ss-name.png" \
  --model flash --resolution 1K --aspect-ratio 16:9

Aliases de --model: ver tabela abaixo — ou o slug completo.

Default: flash @ 1K / 16:9. Só subir resolução se o usuário pedir. Rodar no cwd do usuário. Não ler a imagem de volta — informar path (+ usage.cost se vier).

Edição: --input-image path.png + prompt de edição.

Modelos empregados (top 10)

#AliasNomeSlug OpenRouter
1pro / nb-proNano Banana Pro (Gemini 3 Pro Image)google/gemini-3-pro-image
2gpt / gpt2GPT Image 2openai/gpt-image-2
3flux-maxFLUX.2 Maxblack-forest-labs/flux.2-max
4fluxFLUX.2 Problack-forest-labs/flux.2-pro
5seedream-proSeedream 5.0 Probytedance-seed/seedream-5-0-pro
6seedreamSeedream 5.0 Litebytedance-seed/seedream-5-0-lite
7flash / nb-flashNano Banana 2 (Gemini 3.1 Flash Image)google/gemini-3.1-flash-image
8qwenQwen Image 3 Proqwen/qwen-image-3-pro
9grokGrok Imagine Image 2.0x-ai/grok-imagine-image-2.0
10seedream-4.5Seedream 4.5bytedance-seed/seedream-4.5

Tabela de custo (consulta)

Valores OpenRouter (snapshot ago/2026). Atualizar com --list --top. O response usage.cost é a verdade da cobrança.

Alias5121K2K4K / outroUnidade
flash~$0.045~$0.067~$0.101~$0.151 @4Ktoken → $/img estimado
pro—~$0.134~$0.134— (sem 4K neste endpoint)token → $/img estimado
seedream——$0.035$0.035 @4K$/imagem fixo
seedream-pro—$0.045$0.045$0.09 high-res$/imagem
seedream-4.5—$0.04$0.04$0.04$/imagem
qwen—$0.04$0.075—$/imagem
grok—$0.04–0.06$0.06–0.08—$/imagem (low/medium)
flux—~$0.03~$0.12*—$0.03 / megapixel
flux-max—~$0.07~$0.28*—$0.07 / megapixel
gpt2—ver usage.costver usage.cost—token (input+output)

*Estimativa 2K ≈ 4 MP (2048²); o custo real depende dos pixels gerados.

Resoluções “—” = não listadas / não suportadas nesse endpoint. Se a API rejeitar, mudar --resolution.

Escolha rápida

  • UI/mock com texto → pro ou flash
  • Volume barato → flash@512, seedream, flux
  • Fotorrealismo / arte → flux-max, seedream-pro, gpt2

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Openrouter Img AI skill do?

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.

Why use Openrouter Img on TypingMind?

Because you install it once and use it with any model. Openrouter Img is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Openrouter Img in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/rtadewald/skills/tree/main/openrouter-img. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Openrouter Img?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Openrouter Img?

As many as you like. As long as a model supports skills, you can use Openrouter Img with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Openrouter Img AI skill free?

It is published on GitHub by rtadewald. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇