Pauline P. Narvas Thanks for reporting this feature gap! You're correct - while the AI SDK supports imageConfig for Google Gemini models (via PR #12059), this isn't currently available through the AI Gateway REST API. You could try the following workarounds though: Use the AI SDK with TypeScript...
René Schubert Thanks for pointing to the PR, it helped me understand a bit more. However I’m not sure about the difference between generateText({ model: google("gemini-3-pro-image-preview"), // from the test in the PR /* … / }); and generateText({ model: "google/gemini-3-pro-image", // what...