Skip to content

Add openrouter support for image/generation endpoints#19059

Merged
Sameerlite merged 4 commits intomainfrom
litellm_openrouter_image_gen
Jan 15, 2026
Merged

Add openrouter support for image/generation endpoints#19059
Sameerlite merged 4 commits intomainfrom
litellm_openrouter_image_gen

Conversation

@Sameerlite
Copy link
Collaborator

Relevant issues

Fixes #18961
Fixes #16015

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

CI (LiteLLM team)

CI status guideline:

  • 50-55 passing tests: main is stable with minor issues.
  • 45-49 passing tests: acceptable but needs attention
  • <= 40 passing tests: unstable; be careful with your merges and assess the risk.
  • Branch creation CI run
    Link:

  • CI run for the last commit
    Link:

  • Merge / cherry-pick CI run
    Links:

Type

🆕 New Feature

Changes

image image

@vercel
Copy link

vercel bot commented Jan 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
litellm Ready Ready Preview, Comment Jan 15, 2026 10:17am

@Sameerlite Sameerlite marked this pull request as ready for review January 15, 2026 10:14
@Sameerlite Sameerlite merged commit 83cdfd8 into main Jan 15, 2026
12 of 54 checks passed
@ddkedr
Copy link

ddkedr commented Jan 18, 2026

@Sameerlite on what version this will be available?

@ddkedr
Copy link

ddkedr commented Jan 18, 2026

IDK if you're reading comments in closed issues, so I'll write this here as well

@Sameerlite I thought this might be important to note that nano banana models work fine via chat UI in OpenWebUI (not Image generation module), while the don't work in LiteLLM's Playground in using completions

Also, I don't really understand the logic those models appear in completion list and image generation list in Playground. I have Nano Banana among completion models on one deployment, and in image generation models list on another one

@ddkedr
Copy link

ddkedr commented Jan 27, 2026

@Sameerlite Hi! Do you have any estimates about when this will be merged?

@Sameerlite
Copy link
Collaborator Author

@ddkedr This is already merged

@ddkedr
Copy link

ddkedr commented Jan 29, 2026

@ddkedr This is already merged

In what version?

This is how it looks on 1.81.0

image

First request was to Seedream 4.5 (no image shown), second Flux Klein (no image shown), 3rd Gemini-2.5-image ended up with an error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Seedream image generation does not work [Feature]: Support for openrouter/google/gemini-2.5-flash-image

2 participants