Commit 19f8e21
fix: the model was speaking but nobody told it to answer in pictures.
responseModalities: ["TEXT", "IMAGE"] — two words that Google made
mandatory around March 12th without updating the deprecation calendar.
the model name was fine. the parameters were fine. the API just stopped
inferring that an image generation request should return images.
the old request: here is a picture, here is a prompt, make me a
picture. the API: I see no explicit instruction to return images.
request denied. "Request contains an invalid argument." the argument
it wanted was permission to do what it was already designed to do.
reverted gemini-3.1-pro-image-preview back to gemini-3-pro-image-preview.
the model was never deprecated. only its willingness to cooperate
without paperwork.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c97556d commit 19f8e21
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
304 | | - | |
| 305 | + | |
| 306 | + | |
305 | 307 | | |
306 | 308 | | |
307 | 309 | | |
| |||
0 commit comments