mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
Vertex AI | Google Cloud Platform needs to support Gemini 2.0 Flash Preview Image Generation #379
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GonzaHM on GitHub (Jun 18, 2025).
Self Checks
Dify version
1.3.1
Plugin version
0.0.19
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Vertex AI already has the models, and currently the plugin cannot select these models.
It seems that the current
llm.pymight not yet support image generation models.✔️ Error log
No response
@jortegac commented on GitHub (Jun 18, 2025):
I believe the gemini plugin for Dify had some partial support for this but only for the
gemini-2.0-flash-expmodelhttps://github.com/langgenius/dify-official-plugins/blob/main/models/gemini/models/llm/llm.py#L185C22-L185C42
And mentioned in the 1.4.0 dify release
https://github.com/langgenius/dify/releases/tag/1.4.0
Might be a good starting point for the Vertex plugin
@takuya-o commented on GitHub (Jun 18, 2025):
Although
gemini-2.0-flash-preview-image-generationhas fewer functions as that not support tools call etc., I believe that image generation is possible if you implement it in a similar way togemini-2.0-flash-exp.@jortegac commented on GitHub (Jun 25, 2025):
@crazywoola Please reopen. This issue is for the Vertex plugin, and the PR is for the Gemini plugin