Description of the feature request:
As documented on Google "gemini-2.0-flash-exp-image-generation" model can generate images.
There is a note at top of page;
Note: Make sure to include responseModalities: ["Text", "Image"] in your generation configuration for text and image output with gemini-2.0-flash-exp-image-generation
But in the V.0.0.9 there is no "responseModalities" enum in constructor of GenerationConfig.kt
Without that config, the model can inspect the image but when trying to edit or create, it says that it is not able to do that.
I kindly request this feature in following version. Thank you!
What problem are you trying to solve with this feature?
Add responseModalities enum into constructor of GenerationConfig.kt to set responseModalities for GenerativeModel
Any other information you'd like to share?
No response