[PR #1378] [MERGED] feat: ComfyUI 0.2.2 #1860

Closed
opened 2026-02-16 10:24:12 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/1378
Author: @yt-koike
Created: 7/29/2025
Status: Merged
Merged: 7/29/2025
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (10+)

  • a6b8bba add list_models node
  • bd72fbe add img2img node
  • 104f9e0 rename stable_diffusion node to txt2img
  • 37be0ed add img2img.json
  • 1c364bf register txt2img, img2img and list_models node
  • e4b2381 bugfix
  • 94e9355 Merge branch 'langgenius:main' into main
  • 5b4bf25 add depth_anything and depth_pro
  • a4d43c5 Merge pull request #1 from yt-koike/depth
  • c691a84 Merge branch 'langgenius:main' into main

📊 Changes

22 files changed (+1543 additions, -778 deletions)

View changed files

📝 tools/comfyui/README.md (+1 -1)
📝 tools/comfyui/_assets/CivitAI.yml (+562 -9)
📝 tools/comfyui/_assets/Txt2Img.yml (+564 -552)
📝 tools/comfyui/_assets/Upscale.yml (+13 -10)
📝 tools/comfyui/manifest.yaml (+1 -1)
📝 tools/comfyui/provider/comfyui.yaml (+11 -0)
📝 tools/comfyui/tools/comfyui_client.py (+13 -40)
📝 tools/comfyui/tools/comfyui_workflow.py (+2 -3)
📝 tools/comfyui/tools/download_by_json.py (+8 -1)
📝 tools/comfyui/tools/download_by_url.py (+8 -1)
📝 tools/comfyui/tools/download_civitai.py (+17 -47)
📝 tools/comfyui/tools/download_huggingface.py (+9 -12)
📝 tools/comfyui/tools/download_huggingface.yaml (+1 -1)
📝 tools/comfyui/tools/image_edit.py (+8 -1)
📝 tools/comfyui/tools/img2img.py (+51 -33)
📝 tools/comfyui/tools/img2img.yaml (+17 -7)
📝 tools/comfyui/tools/img2vid.py (+16 -9)
tools/comfyui/tools/model_manager.py (+172 -0)
📝 tools/comfyui/tools/run_workflow.py (+2 -1)
📝 tools/comfyui/tools/txt2img.py (+30 -29)

...and 2 more files

📄 Description

Related Issues or Context

New feature:

Refactor:

  • Introduce ModelManager: unifies the management of local models installed in ComfyUI and online models on Civitai and HuggingFace.

This PR contains Changes to Non-Plugin

  • Documentation

This PR contains Changes to Non-LLM Models Plugin

  • I have Run Comprehensive Tests Relevant to My Changes

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.7.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/1378 **Author:** [@yt-koike](https://github.com/yt-koike) **Created:** 7/29/2025 **Status:** ✅ Merged **Merged:** 7/29/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`a6b8bba`](https://github.com/langgenius/dify-official-plugins/commit/a6b8bbac16351d3c2c9dffc5957430e5ac27b8dd) add list_models node - [`bd72fbe`](https://github.com/langgenius/dify-official-plugins/commit/bd72fbe2bdb46d1ac944b28255cf444871524697) add img2img node - [`104f9e0`](https://github.com/langgenius/dify-official-plugins/commit/104f9e08b1d2885ba468cd1b8fc5dfae7ad2ffe3) rename stable_diffusion node to txt2img - [`37be0ed`](https://github.com/langgenius/dify-official-plugins/commit/37be0ed20dba7503a805e23a650d0e8f05fa2120) add img2img.json - [`1c364bf`](https://github.com/langgenius/dify-official-plugins/commit/1c364bfe2dc47c3379585acfa1cdd4d00d898283) register txt2img, img2img and list_models node - [`e4b2381`](https://github.com/langgenius/dify-official-plugins/commit/e4b238157f814bd4a2242bcbd87b6cc4c4e4ac27) bugfix - [`94e9355`](https://github.com/langgenius/dify-official-plugins/commit/94e93553c978bba2b765fad6526d285429c883c1) Merge branch 'langgenius:main' into main - [`5b4bf25`](https://github.com/langgenius/dify-official-plugins/commit/5b4bf2519c6754c52da6dc31463213ad087b2a59) add depth_anything and depth_pro - [`a4d43c5`](https://github.com/langgenius/dify-official-plugins/commit/a4d43c5c6104dec7ea417f21808b0d5f0f69e7bb) Merge pull request #1 from yt-koike/depth - [`c691a84`](https://github.com/langgenius/dify-official-plugins/commit/c691a8414f923c34974c8887aa4c45e3508470a5) Merge branch 'langgenius:main' into main ### 📊 Changes **22 files changed** (+1543 additions, -778 deletions) <details> <summary>View changed files</summary> 📝 `tools/comfyui/README.md` (+1 -1) 📝 `tools/comfyui/_assets/CivitAI.yml` (+562 -9) 📝 `tools/comfyui/_assets/Txt2Img.yml` (+564 -552) 📝 `tools/comfyui/_assets/Upscale.yml` (+13 -10) 📝 `tools/comfyui/manifest.yaml` (+1 -1) 📝 `tools/comfyui/provider/comfyui.yaml` (+11 -0) 📝 `tools/comfyui/tools/comfyui_client.py` (+13 -40) 📝 `tools/comfyui/tools/comfyui_workflow.py` (+2 -3) 📝 `tools/comfyui/tools/download_by_json.py` (+8 -1) 📝 `tools/comfyui/tools/download_by_url.py` (+8 -1) 📝 `tools/comfyui/tools/download_civitai.py` (+17 -47) 📝 `tools/comfyui/tools/download_huggingface.py` (+9 -12) 📝 `tools/comfyui/tools/download_huggingface.yaml` (+1 -1) 📝 `tools/comfyui/tools/image_edit.py` (+8 -1) 📝 `tools/comfyui/tools/img2img.py` (+51 -33) 📝 `tools/comfyui/tools/img2img.yaml` (+17 -7) 📝 `tools/comfyui/tools/img2vid.py` (+16 -9) ➕ `tools/comfyui/tools/model_manager.py` (+172 -0) 📝 `tools/comfyui/tools/run_workflow.py` (+2 -1) 📝 `tools/comfyui/tools/txt2img.py` (+30 -29) _...and 2 more files_ </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: - Supports [api_key_comfy_org](https://docs.comfy.org/development/comfyui-server/api-key-integration#integration-of-api-key-to-use-comfyui-api-nodes): as requested on https://github.com/langgenius/dify-official-plugins/issues/1349 - Modifiable batch size: Now you can generate two or more images at once. - Integrated downloader: Now you can download checkpoints and loras from Civitai without "CivitAI Download " node. Refactor: - Introduce ModelManager: unifies the management of local models installed in ComfyUI and online models on Civitai and HuggingFace. ## 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 ## 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. --> ## 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.7.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 10:24:12 -05:00
yindo closed this issue 2026-02-16 10:24:12 -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#1860