Skip to content

[Feature]: Support another Image generation models on OpenRouter #91504

Description

@resYuto

Summary

OpenRouter has many image generation models as much as LLMs; such as microsoft/mai-image-2.5.
Please support another models with currently supported.

Problem to solve

  1. use image_generate tool with model="openrouter/microsoft/mai-image-2.5"

Proposed solution

Pattern A: Add some models curated by someone of maintainers / contributors.

Pattern B: Add dynamic detection from https://openrouter.ai/api/v1/models

Alternatives considered

No response

Impact

Affected: use image_generate tool with OpenRouter

Evidence/examples

extensions/openrouter/image-generation-provider.ts:

const SUPPORTED_MODELS = [
  DEFAULT_MODEL,
  "google/gemini-3-pro-image-preview",
  "openai/gpt-5.4-image-2",
] as const;

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.enhancementNew feature or requestimpact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions