Replies: 1 comment 1 reply
-
The Gemini Image Tool switched from Vertex AI authentication to requiring a Gemini API key starting with version 0.1.0. This change is reflected in both the code and documentation: the tool now makes direct HTTP requests to the Gemini API endpoint and uses the API key in the While the pull requests and documentation do not provide an explicit rationale, the change likely reflects a strategic or technical decision to consolidate on the Gemini API for image generation and editing models. This may be due to updated Google endpoints, authentication practices, or differences in access and policy between Vertex AI and Gemini API. The Vertex AI plugin was also removed from the repository, further indicating that Vertex AI support has been discontinued in the plugin ecosystem [source]. If you see any references to Vertex AI in the documentation, those are likely outdated. The current tool implementation, configuration, and credential validation are all designed for Gemini API usage only. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
Please explain why the Gemini Image Tool authentication was changed from using Vertex AI to using the Gemini API.
https://marketplace.dify.ai/plugins/langgenius/gemini_image
I believe that in v0.0.1, it could be used by registering a Vertex AI key, but after the version upgrade, it started requiring a Gemini API key.
We intended to follow Google's recommendation and use the Vertex AI API for the Nano banana model. However, starting from v0.1.0, a separate Gemini API key is required. We were unclear about why this change occurred and whether the Vertex AI API remains usable. Therefore, we are inquiring about the intent behind this change.
In any case, I felt this contradicted the content described below, so I asked the question.
The Gemini Image Tool is used to access Gemini's image generation and editing models on Vertex AI. Currently, this plugin supports the following models.
Beta Was this translation helpful? Give feedback.
All reactions