|
2 | 2 | // Add comments, trailing commas, etc. |
3 | 3 | [ |
4 | 4 | { |
5 | | - id: "google/gemini-3-pro-image-preview", |
| 5 | + id: "google/gemini-3-pro-image", |
6 | 6 | name: "Gemini 3 Pro Preview", |
7 | 7 | badge: "Great but Expensive", |
8 | 8 | description: "'Nano Banana Pro' Good for editing, as it preserves the original image.", |
|
26 | 26 | default: false, |
27 | 27 | }, |
28 | 28 | { |
29 | | - // OpenRouter currently only exposes the "-preview" key. We can NOT pre-list |
30 | | - // the not-yet-published "google/gemini-3.1-flash-image" as a fallbackId: |
31 | | - // OpenRouter validates every id in the `models` array up front and rejects |
32 | | - // the whole request with 400 ("... is not a valid model ID") for any key it |
33 | | - // doesn't recognize. (The `models` fallback only fails over on runtime |
34 | | - // errors of *valid* models, not unknown ids.) When OpenRouter retires the |
35 | | - // preview and republishes the non-preview key, update `id` here. |
36 | | - id: "google/gemini-3.1-flash-image-preview", |
| 29 | + // OpenRouter retired the "-preview" key and republished the stable |
| 30 | + // "google/gemini-3.1-flash-image" key (the preview now has no |
| 31 | + // image-output endpoint, surfacing as "404 No endpoints found that support |
| 32 | + // the requested output modalities: text, image"). Use the stable key. |
| 33 | + id: "google/gemini-3.1-flash-image", |
37 | 34 | name: "Gemini 3.1 Flash", |
38 | 35 | badge: "Great", |
39 | 36 | description: "'Nano Banana 2'. Good for editing, as it preserves the original image. Not quite as good at instruction understanding as Gemini 3 Pro.", |
|
0 commit comments