Skip to content
Score 76 ptsEngineering & OSS6 min read
Markdown

Hands-On with OpenRouter: Using an MCP Connector to Let Claude Call Image Models

A tutorial shows how to connect the OpenRouter MCP server in the Claude app and Claude Code, covering 74 image models and comparing the price and latency of four models.

Hands-On with OpenRouter: Using an MCP Connector to Let Claude Call Image Models
Hands-On with OpenRouter: Using an MCP Connector to Let Claude Call Image ModelsSource Cover
Share
Table of Contents (3)
  1. 01Why Claude Can't Generate Images Directly: A Connector Fills the Missing Image Model
  2. 02Four Models Compared: Prices Differ by More Than 2x, Output Sizes Vary
  3. 03Cost Control and Result Delivery: Per-Image Approval, Links Valid for 24 Hours
  4. Industry Impact & Strategic Takeaways
  5. Frequently Asked Questions

Key Takeaways (TL;DR)

  • 01Claude has no image model of its own; it needs a connector (MCP server) to call external image models and produce real images.
  • 02As of November 19, 2026, the OpenRouter MCP server covers 74 image models. It can be added as a remote connector with no local components to install.
  • 03With the same prompt, four models cost between $0.035 and $0.094 per image. Seedream 5.5 was the cheapest and returned the largest output size.

OpenRouter has published a tutorial showing how Claude, which lacks native image generation, can call image models through the OpenRouter MCP server. The setup involves adding a remote connector in the Claude app or Claude Code, with no local installation required. In testing, four models cost between $0.035 and $0.094 per image.

01

Why Claude Can't Generate Images Directly: A Connector Fills the Missing Image Model

In a help center article dated March 16, 2026, Anthropic states plainly that Claude does not generate photos or illustrations the way image generation tools do; it mainly builds charts using HTML and SVG. Its vision documentation also notes that Claude is an image-understanding-only model: it can interpret and analyze images but cannot generate, edit, or create them. In other words, what Claude lacks is a callable image model.

A connector is what Claude calls an MCP server added to the app. OpenRouter's MCP server is one such connector, providing access to every model in OpenRouter's image catalog. According to the tutorial, as of November 19, 2026, that catalog includes 74 image models from various labs. Users only need to give a short request; Claude writes the detailed prompt and shows it before billing, and after the image is generated, Claude can review the result and compare it with the original request.

Anthropic's documentation states: Claude is an image-understanding-only model that can interpret and analyze images but cannot generate, edit, or create them.
  • The remote connector can be added in both the Claude app and Claude Code, with no software to install locally.
  • The connector is authorized with a dedicated key valid for up to 7 days, and users can disconnect at any time.
  • Some organizations prohibit custom connectors, so the option may not be visible in work accounts.

Setup: Adding in the App vs. Logging In via the Command Line

In the Claude app, users go to Settings > Connectors to add a custom connector, name it OpenRouter MCP, and set the remote MCP server address to https://mcp.openrouter.ai/mcp, leaving the OAuth field blank. When connecting after adding it, the browser opens OpenRouter's authorization page, where the user approves the dedicated key for that connection. An OpenRouter account with a balance is required.

In Claude Code, the process is done via the command line: first run claude mcp add --transport http openrouter https://mcp.openrouter.ai/mcp, then run claude mcp login openrouter. The OpenRouter MCP server guide provides step-by-step click-through instructions for each client.

02

Four Models Compared: Prices Differ by More Than 2x, Output Sizes Vary

The tutorial sent the same fox prompt, at a 1:1 aspect ratio and default resolution, to four models and compared their look and price. GPT Image 2.6 Flare took 26.4 seconds, cost $0.094 per image, and output 1024×1024; Seedream 5.5 took 20.9 seconds, cost $0.035 per image, and output 2048×2048; MAI-Image-2.7 took 34.0 seconds, cost $0.035 per image, and output 1024×1024; Nano Banana 2.1 took 13.2 seconds, cost $0.040 per image, and output 1024×1024.

The most expensive image cost more than twice the cheapest. Seedream 5.5 tied for the lowest price while returning the largest image. The tutorial also notes that three of the four models added text the user did not request, such as book titles or hanging signs, so it recommends specifying "no text" in the request. All figures are single measurements under the billing terms as of November 19, 2026; current prices are listed on each model's page.

The four models cost between $0.035 and $0.094 per image, with the most expensive more than twice the cheapest.
  • GPT Image 2.6 Flare costs $0.058 at a 16:9 aspect ratio, lower than $0.094 at 1:1.
  • FLUX 3 Image costs $0.10 at 16:9 and 2K resolution (2736×1536).
  • If the user does not specify a model, Claude chooses one itself; in testing, Claude Code picked FLUX 3 Image, while one Claude app run picked an older model.

Compare Before You Pay: Model Queries Are Free

The tutorial recommends having Claude compare models before spending money, since querying model information is free. When asked which model to use for a product shot on a pure white background, Claude recommended Nano Banana 2.1 from five options, giving reasons and caveats for each and noting that the shortlist came from catalog data rather than test images. With the user's consent, Claude also offered to run paid tests on the top three.

03

Cost Control and Result Delivery: Per-Image Approval, Links Valid for 24 Hours

The cost of each image is the price of the model called, measured at $0.035 to $0.10 in testing, with Claude's own usage billed separately. Aspect ratio and resolution change the price. The connector key has an initial $10 spending cap, which can be changed on the authorization page; in testing, Claude also repeated the cost of each image in its replies. Claude asks for approval before generating each image and shows the selected model and the prompt it wrote in the approval interface, so users can read it before being billed.

As for result delivery, the generate-image tool returns a link when it can issue one, and otherwise returns the image itself. Links open in any browser without login and are valid for 24 hours. In the Claude app, images appear in the conversation and Claude can see them; if a link is returned instead, it is opened in the browser, and in testing Claude did not see that image and could not display it in the conversation. In Claude Code, links are actually the more convenient case.

Each image requires user approval before generation, and the approval interface shows the model and the prompt Claude wrote, so you can check before being billed.
  • Claude can review the generated result and compare it with the original request; in testing it noted that the book should have been a paperback but was generated as a green hardcover.
  • When asking for revisions, Claude can pass the first image back to the model as a reference; in testing, the rest of the scene remained unchanged.
  • The authorization key has an initial $10 spending cap, which users can adjust on the authorization page.

Result Verification: Claude as the Post-Generation Check

The image model does the drawing; Claude handles everything else. With an image tool alone, writing detailed prompts and checking results fall to the user; in Claude, a short request suffices because Claude writes the detailed prompt. In testing, Claude expanded a brief description into a longer prompt and, after the image returned, looked at it and described its contents. In a Claude Code run, Claude opened the saved file and reported that the book was a green hardcover when the user had asked for a paperback—a discrepancy that was caught without the user having to compare manually.

Impact

Industry Impact & Strategic Takeaways

The tutorial shows that MCP connectors are turning frontier models without multimodal generation into orchestration entry points: Claude handles prompt writing, result verification, and cost disclosure, while image models do the drawing. For developers in Asia-Pacific, remote connectors eliminate local deployment, and per-image billing with per-image approval lowers the cost of trial and error; however, details such as model selection, text artifacts, and link validity still need to be factored into model choice and workflow design.

Frequently Asked Questions

Can Claude generate images directly?

+

No. Anthropic's documentation states that Claude is an image-understanding-only model that can interpret and analyze images but cannot generate, edit, or create them. A connector is needed to call an external image model to get real images.

Do I need to install software to use the OpenRouter connector in Claude?

+

No. The OpenRouter MCP server is a remote server; you add it as a custom connector in the Claude app or log in via the command line in Claude Code. No local components are required, but you need an OpenRouter account with a balance.

How much does it cost to generate an image?

+

In the tutorial's tests, four models cost between $0.035 and $0.094 per image as of November 19, 2026, and aspect ratio and resolution change the price. The connector key has an initial $10 spending cap, which can be changed on the authorization page.

Primary Source & Attribution

OpenRouter:Announcements(RSS)

Can Claude Generate Images? Yes, with a Connector

Related Deep Dives