[PR #1742] [MERGED] feat: Gemini image 0.1.1 #2058

Closed
opened 2026-02-16 11:15:59 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/1742
Author: @yt-koike
Created: 9/20/2025
Status: Merged
Merged: 9/22/2025
Merged by: @crazywoola

Base: mainHead: gemini_image-0.1.0


📝 Commits (10+)

📊 Changes

4 files changed (+22 additions, -16 deletions)

View changed files

📝 tools/gemini_image/README.md (+2 -3)
📝 tools/gemini_image/manifest.yaml (+1 -1)
📝 tools/gemini_image/requirements.txt (+1 -1)
📝 tools/gemini_image/tools/image_generate.py (+18 -11)

📄 Description

Related Issues or Context

New feature:

  • Support multiple input images

This PR contains Changes to Non-Plugin

  • Documentation
  • Other

This PR contains Changes to Non-LLM Models Plugin

  • I have Run Comprehensive Tests Relevant to My Changes

I successfully ran the official example which takes multiple input images. https://ai.google.dev/gemini-api/docs/image-generation#4_advanced_composition_combining_multiple_images

image

This PR does not contain Changes to LLM Models Plugin

Version Control (Any Changes to the Plugin Will Require Bumping the Version)

  • I have Bumped Up the Version in Manifest.yaml (Top-Level Version Field, Not in Meta Section)

Dify Plugin SDK Version

  • I have Ensured dify_plugin>=0.3.0,<0.5.0 is in requirements.txt (SDK docs)

Environment Verification (If Any Code Changes)

Local Deployment Environment

  • Dify Version is: 1.8.1, I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration.

SaaS Environment

  • I have Tested My Changes on cloud.dify.ai with a Clean Environment That Matches the Production Configuration

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/1742 **Author:** [@yt-koike](https://github.com/yt-koike) **Created:** 9/20/2025 **Status:** ✅ Merged **Merged:** 9/22/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `gemini_image-0.1.0` --- ### 📝 Commits (10+) - [`6b7a08a`](https://github.com/langgenius/dify-official-plugins/commit/6b7a08ad8c2cb2692d661568d30559c062295bde) rm replace("'",'"') on json file - [`1158487`](https://github.com/langgenius/dify-official-plugins/commit/1158487194e1555cbc597ff16af080f5e58a2fea) introduce ruff the format - [`bb797e5`](https://github.com/langgenius/dify-official-plugins/commit/bb797e57a99b081e5c51d46df08ded601c268c93) Bump up the version - [`467d45b`](https://github.com/langgenius/dify-official-plugins/commit/467d45bced6f1cfa542bf1eaa21e38713260030e) rm print() according to https://github.com/langgenius/dify-official-plugins/issues/1673 - [`18146ba`](https://github.com/langgenius/dify-official-plugins/commit/18146ba764741d95e11f17c0320c8ef2953c9494) introduce ComfyUIModel - [`c1a81a0`](https://github.com/langgenius/dify-official-plugins/commit/c1a81a0ae1ccccab3d508a2bbcf79e0a5f7e5f68) rename model_manager.py - [`7442410`](https://github.com/langgenius/dify-official-plugins/commit/7442410b0cebe288b0fb2df2cf71e916a5329eaa) bump up - [`11c48d0`](https://github.com/langgenius/dify-official-plugins/commit/11c48d0c35a3ba982aa0bb01ab892cca131432d3) first try download without tokens - [`6f32b72`](https://github.com/langgenius/dify-official-plugins/commit/6f32b727cf3a05d7b5e28a4e154c01d6cff044ae) bugfix - [`3feab06`](https://github.com/langgenius/dify-official-plugins/commit/3feab06a19f3dadff10ec355c54aa95c20956acc) try downloading models without tokens first ### 📊 Changes **4 files changed** (+22 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `tools/gemini_image/README.md` (+2 -3) 📝 `tools/gemini_image/manifest.yaml` (+1 -1) 📝 `tools/gemini_image/requirements.txt` (+1 -1) 📝 `tools/gemini_image/tools/image_generate.py` (+18 -11) </details> ### 📄 Description ## Related Issues or Context <!-- ⚠️ NOTE: This repository is for Dify Official Plugins only. For community contributions, please submit to https://github.com/langgenius/dify-plugins instead. - Link Related Issues if Applicable: #issue_number - Or Provide Context about Why this Change is Needed --> New feature: - Support multiple input images ## This PR contains Changes to *Non-Plugin* <!-- Put an `x` in all the boxes that apply by replacing [ ] with [x] For example: - [x] Documentation --> - [x] Documentation - [ ] Other ## This PR contains Changes to *Non-LLM Models Plugin* - [x] I have Run Comprehensive Tests Relevant to My Changes <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> I successfully ran the official example which takes multiple input images. https://ai.google.dev/gemini-api/docs/image-generation#4_advanced_composition_combining_multiple_images <img width="300" alt="image" src="https://github.com/user-attachments/assets/c6ee80da-ca39-4fc0-b72f-019bb7642bf8" /> ## This PR does not contain Changes to *LLM Models Plugin* ## Version Control (Any Changes to the Plugin Will Require Bumping the Version) - [x] I have Bumped Up the Version in Manifest.yaml (Top-Level `Version` Field, Not in Meta Section) <!-- ⚠️ NOTE: Version Format: MAJOR.MINOR.PATCH - MAJOR (0.x.x): Reserved for Significant architectural changes or incompatible API modifications - MINOR (x.0.x): For New feature additions while maintaining backward compatibility - PATCH (x.x.0): For Backward-compatible bug fixes and minor improvements - Note: Each Version Component (MAJOR, MINOR, PATCH) Can Be 2 Digits, e.g., 10.11.22 --> ## Dify Plugin SDK Version - [x] I have Ensured `dify_plugin>=0.3.0,<0.5.0` is in requirements.txt ([SDK docs](https://github.com/langgenius/dify-plugin-sdks/blob/main/python/README.md)) ## Environment Verification (If Any Code Changes) <!-- ⚠️ NOTE: At Least One Environment Must Be Tested. --> ### Local Deployment Environment - [x] Dify Version is: 1.8.1, I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration. <!-- - Python Virtual Env Matching Manifest.yaml & requirements.txt - No Breaking Changes in Dify That May Affect the Testing Result --> ### SaaS Environment - [ ] I have Tested My Changes on cloud.dify.ai with a Clean Environment That Matches the Production Configuration <!-- - Python Virtual Env Matching Manifest.yaml & requirements.txt --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 11:15:59 -05:00
yindo closed this issue 2026-02-16 11:15:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#2058