[PR #914] [MERGED] feat: ComfyUI 0.1.0 Update #1618

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/914
Author: @yt-koike
Created: 5/14/2025
Status: Merged
Merged: 5/18/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

26 files changed (+620 additions, -213 deletions)

View changed files

📝 tools/comfyui/README.md (+72 -1)
tools/comfyui/_assets/AIR.jpg (+0 -0)
tools/comfyui/_assets/nodes.png (+0 -0)
📝 tools/comfyui/manifest.yaml (+1 -1)
📝 tools/comfyui/provider/comfyui.yaml (+8 -7)
📝 tools/comfyui/tools/comfyui_client.py (+1 -4)
📝 tools/comfyui/tools/comfyui_depth_anything.py (+2 -2)
📝 tools/comfyui/tools/comfyui_depth_pro.py (+2 -2)
📝 tools/comfyui/tools/comfyui_face_swap.py (+3 -2)
📝 tools/comfyui/tools/comfyui_face_swap.yaml (+3 -8)
📝 tools/comfyui/tools/comfyui_img2img.py (+57 -14)
📝 tools/comfyui/tools/comfyui_img2img.yaml (+30 -6)
📝 tools/comfyui/tools/comfyui_img2vid.py (+5 -4)
📝 tools/comfyui/tools/comfyui_list_models.py (+3 -1)
📝 tools/comfyui/tools/comfyui_list_models.yaml (+17 -7)
tools/comfyui/tools/comfyui_list_upscalers.py (+0 -21)
tools/comfyui/tools/comfyui_list_upscalers.yaml (+0 -28)
📝 tools/comfyui/tools/comfyui_txt2img.py (+47 -37)
📝 tools/comfyui/tools/comfyui_txt2img.yaml (+18 -64)
📝 tools/comfyui/tools/comfyui_upscale.py (+5 -4)

...and 6 more files

📄 Description

Related Issues or Context

New feature:

  • CivitAI downloader and Hugging Face downloader: Now Dify can order ComfyUI to download models like checkpoints and LORAs!
  • Flexible LORA setting: You could set up to three LORAs before but now you can set as many as you want.

Deletion:

  • list_upscalers node was merged into list_models node.

This PR has a slight backward incompatibility in UI for LORA settings so I bump up the version to 0.1.0 not to 0.0.10.
I also wrote explanations of each node to README.md.

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

I checked LORAs are correctly added to ComfyUI nodes when I inputed LORA names and strengths on Txt2Img and Img2Img nodes.
image

I also checked that CivitAI Download node and Hugging Face Download node can download models from the websites.
I'm glad to see them end processing instantly when the desired models are already downloaded. It's just like a caching feature.

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'm Using dify_plugin>=0.2.0,<0.3.0 in requirements.txt (SDK docs)

Environment Verification (If Any Code Changes)

Local Deployment Environment

  • Dify Version is: 1.3.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/914 **Author:** [@yt-koike](https://github.com/yt-koike) **Created:** 5/14/2025 **Status:** ✅ Merged **Merged:** 5/18/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 **26 files changed** (+620 additions, -213 deletions) <details> <summary>View changed files</summary> 📝 `tools/comfyui/README.md` (+72 -1) ➕ `tools/comfyui/_assets/AIR.jpg` (+0 -0) ➕ `tools/comfyui/_assets/nodes.png` (+0 -0) 📝 `tools/comfyui/manifest.yaml` (+1 -1) 📝 `tools/comfyui/provider/comfyui.yaml` (+8 -7) 📝 `tools/comfyui/tools/comfyui_client.py` (+1 -4) 📝 `tools/comfyui/tools/comfyui_depth_anything.py` (+2 -2) 📝 `tools/comfyui/tools/comfyui_depth_pro.py` (+2 -2) 📝 `tools/comfyui/tools/comfyui_face_swap.py` (+3 -2) 📝 `tools/comfyui/tools/comfyui_face_swap.yaml` (+3 -8) 📝 `tools/comfyui/tools/comfyui_img2img.py` (+57 -14) 📝 `tools/comfyui/tools/comfyui_img2img.yaml` (+30 -6) 📝 `tools/comfyui/tools/comfyui_img2vid.py` (+5 -4) 📝 `tools/comfyui/tools/comfyui_list_models.py` (+3 -1) 📝 `tools/comfyui/tools/comfyui_list_models.yaml` (+17 -7) ➖ `tools/comfyui/tools/comfyui_list_upscalers.py` (+0 -21) ➖ `tools/comfyui/tools/comfyui_list_upscalers.yaml` (+0 -28) 📝 `tools/comfyui/tools/comfyui_txt2img.py` (+47 -37) 📝 `tools/comfyui/tools/comfyui_txt2img.yaml` (+18 -64) 📝 `tools/comfyui/tools/comfyui_upscale.py` (+5 -4) _...and 6 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: - [CivitAI](https://civitai.com/) downloader and [Hugging Face](https://huggingface.co/) downloader: Now Dify can order ComfyUI to download models like checkpoints and LORAs! - Flexible LORA setting: You could set up to three LORAs before but now you can set as many as you want. Deletion: - list_upscalers node was merged into list_models node. This PR has a slight backward incompatibility in UI for LORA settings so I bump up the version to 0.1.0 not to 0.0.10. I also wrote explanations of each node to README.md. ## 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. --> I checked LORAs are correctly added to ComfyUI nodes when I inputed LORA names and strengths on Txt2Img and Img2Img nodes. ![image](https://github.com/user-attachments/assets/04aa4125-0161-4474-93c5-1dd2f1ad16b8) I also checked that CivitAI Download node and Hugging Face Download node can download models from the websites. I'm glad to see them end processing instantly when the desired models are already downloaded. It's just like a caching feature. ## 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'm Using `dify_plugin>=0.2.0,<0.3.0` 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.3.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:23:30 -05:00
yindo closed this issue 2026-02-16 10:23:30 -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#1618