[PR #948] [MERGED] Feat&fix: ComfyUI 0.1.1 update #1635

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

📋 Pull Request Information

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

35 files changed (+211 additions, -237 deletions)

View changed files

📝 tools/comfyui/README.md (+7 -15)
📝 tools/comfyui/manifest.yaml (+1 -1)
📝 tools/comfyui/provider/comfyui.yaml (+23 -14)
📝 tools/comfyui/tools/comfyui_client.py (+6 -1)
tools/comfyui/tools/comfyui_workflow.py (+0 -82)
📝 tools/comfyui/tools/depth_anything.json (+0 -0)
📝 tools/comfyui/tools/depth_anything.py (+0 -0)
📝 tools/comfyui/tools/depth_anything.yaml (+1 -1)
📝 tools/comfyui/tools/depth_pro.json (+0 -0)
📝 tools/comfyui/tools/depth_pro.py (+0 -0)
📝 tools/comfyui/tools/depth_pro.yaml (+1 -1)
tools/comfyui/tools/download.json (+14 -0)
tools/comfyui/tools/download_civitai.json (+0 -14)
📝 tools/comfyui/tools/download_civitai.py (+37 -21)
📝 tools/comfyui/tools/download_civitai.yaml (+4 -4)
tools/comfyui/tools/download_huggingface.json (+0 -15)
📝 tools/comfyui/tools/download_huggingface.py (+21 -5)
📝 tools/comfyui/tools/face_swap.py (+0 -0)
📝 tools/comfyui/tools/face_swap.yaml (+1 -1)
📝 tools/comfyui/tools/image_info.py (+0 -0)

...and 15 more files

📄 Description

Related Issues or Context

Feature:

  • If you omit version_id on CivitAI Download node, it will automatically download the latest model.
  • Support User Access Tokens for Huggingface

Fix: https://github.com/langgenius/dify-official-plugins/issues/933. This was because of https://en.wikipedia.org/wiki/Non-breaking_space so I get rid of special letters from 0x007F to 0x00A1 at this part

Refactor: I renamed most files whose names start with comfy_*.

This PR contains Changes to Non-LLM Models Plugin

  • I have Run Comprehensive Tests Relevant to My Changes

I checked that workflow node works even with input images.

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.4.0, 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/948 **Author:** [@yt-koike](https://github.com/yt-koike) **Created:** 5/20/2025 **Status:** ✅ Merged **Merged:** 5/20/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 **35 files changed** (+211 additions, -237 deletions) <details> <summary>View changed files</summary> 📝 `tools/comfyui/README.md` (+7 -15) 📝 `tools/comfyui/manifest.yaml` (+1 -1) 📝 `tools/comfyui/provider/comfyui.yaml` (+23 -14) 📝 `tools/comfyui/tools/comfyui_client.py` (+6 -1) ➖ `tools/comfyui/tools/comfyui_workflow.py` (+0 -82) 📝 `tools/comfyui/tools/depth_anything.json` (+0 -0) 📝 `tools/comfyui/tools/depth_anything.py` (+0 -0) 📝 `tools/comfyui/tools/depth_anything.yaml` (+1 -1) 📝 `tools/comfyui/tools/depth_pro.json` (+0 -0) 📝 `tools/comfyui/tools/depth_pro.py` (+0 -0) 📝 `tools/comfyui/tools/depth_pro.yaml` (+1 -1) ➕ `tools/comfyui/tools/download.json` (+14 -0) ➖ `tools/comfyui/tools/download_civitai.json` (+0 -14) 📝 `tools/comfyui/tools/download_civitai.py` (+37 -21) 📝 `tools/comfyui/tools/download_civitai.yaml` (+4 -4) ➖ `tools/comfyui/tools/download_huggingface.json` (+0 -15) 📝 `tools/comfyui/tools/download_huggingface.py` (+21 -5) 📝 `tools/comfyui/tools/face_swap.py` (+0 -0) 📝 `tools/comfyui/tools/face_swap.yaml` (+1 -1) 📝 `tools/comfyui/tools/image_info.py` (+0 -0) _...and 15 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 --> Feature: - If you omit version_id on CivitAI Download node, it will automatically download the latest model. - Support User Access Tokens for Huggingface Fix: https://github.com/langgenius/dify-official-plugins/issues/933. This was because of https://en.wikipedia.org/wiki/Non-breaking_space so I get rid of special letters from 0x007F to 0x00A1 at [this part](https://github.com/langgenius/dify-official-plugins/pull/948/files#diff-0d56353e697ef049b8b195958aa9667ef9709fdc0d28bdef9cdc7a9c13015a41R11-R16) Refactor: I renamed most files whose names start with comfy_*. ## 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 that workflow node works even with input images. ## 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.4.0, 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:32 -05:00
yindo closed this issue 2026-02-16 10:23:32 -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#1635