[PR #1053] [MERGED] feat: ComfyUI v0.1.3 #1693

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

📋 Pull Request Information

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

27 files changed (+673 additions, -1024 deletions)

View changed files

📝 tools/comfyui/README.md (+3 -0)
📝 tools/comfyui/manifest.yaml (+1 -1)
📝 tools/comfyui/requirements.txt (+1 -1)
📝 tools/comfyui/tools/comfyui_client.py (+74 -65)
📝 tools/comfyui/tools/depth_anything.py (+19 -23)
📝 tools/comfyui/tools/depth_pro.py (+20 -26)
📝 tools/comfyui/tools/download_civitai.py (+20 -18)
📝 tools/comfyui/tools/download_civitai.yaml (+6 -2)
📝 tools/comfyui/tools/download_huggingface.py (+27 -13)
📝 tools/comfyui/tools/download_huggingface.yaml (+4 -2)
📝 tools/comfyui/tools/face_swap.py (+18 -174)
📝 tools/comfyui/tools/img2img.py (+39 -184)
📝 tools/comfyui/tools/img2img.yaml (+17 -17)
📝 tools/comfyui/tools/img2vid.py (+32 -187)
📝 tools/comfyui/tools/json/depth_anything.json (+0 -0)
📝 tools/comfyui/tools/json/depth_pro.json (+0 -0)
📝 tools/comfyui/tools/json/download.json (+0 -0)
📝 tools/comfyui/tools/json/face_swap.json (+0 -0)
📝 tools/comfyui/tools/json/img2img.json (+0 -0)
📝 tools/comfyui/tools/json/img2vid.json (+0 -0)

...and 7 more files

📄 Description

Related Issues or Context

New features:

Refactor:

  • Move .json files to tools/json/
  • Remove unnecessary get_runtime_parameters()

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

Environment Verification (If Any Code Changes)

Local Deployment Environment

  • Dify Version is: 1.4.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/1053 **Author:** [@yt-koike](https://github.com/yt-koike) **Created:** 6/6/2025 **Status:** ✅ Merged **Merged:** 6/17/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 **27 files changed** (+673 additions, -1024 deletions) <details> <summary>View changed files</summary> 📝 `tools/comfyui/README.md` (+3 -0) 📝 `tools/comfyui/manifest.yaml` (+1 -1) 📝 `tools/comfyui/requirements.txt` (+1 -1) 📝 `tools/comfyui/tools/comfyui_client.py` (+74 -65) 📝 `tools/comfyui/tools/depth_anything.py` (+19 -23) 📝 `tools/comfyui/tools/depth_pro.py` (+20 -26) 📝 `tools/comfyui/tools/download_civitai.py` (+20 -18) 📝 `tools/comfyui/tools/download_civitai.yaml` (+6 -2) 📝 `tools/comfyui/tools/download_huggingface.py` (+27 -13) 📝 `tools/comfyui/tools/download_huggingface.yaml` (+4 -2) 📝 `tools/comfyui/tools/face_swap.py` (+18 -174) 📝 `tools/comfyui/tools/img2img.py` (+39 -184) 📝 `tools/comfyui/tools/img2img.yaml` (+17 -17) 📝 `tools/comfyui/tools/img2vid.py` (+32 -187) 📝 `tools/comfyui/tools/json/depth_anything.json` (+0 -0) 📝 `tools/comfyui/tools/json/depth_pro.json` (+0 -0) 📝 `tools/comfyui/tools/json/download.json` (+0 -0) 📝 `tools/comfyui/tools/json/face_swap.json` (+0 -0) 📝 `tools/comfyui/tools/json/img2img.json` (+0 -0) 📝 `tools/comfyui/tools/json/img2vid.json` (+0 -0) _...and 7 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 features: - HiresFix for txt2img: HiresFix generates a small image then upscale it. Without it, large images tend to have unnaturally duplicated objects and artifacts. Here are two examples [withoutHiresFix](https://github.com/user-attachments/assets/f4a0a70f-5d86-43f9-a601-6fbf952115a5) and [withHiresFix](https://github.com/user-attachments/assets/481b2330-33b1-414b-b2ad-d6ca8ffa9219) to compare the difference(Used model: [WAI-NSFW-illustrious-SDXL](https://civitai.com/models/827184?modelVersionId=1761560)). - MIME guessing: The output data from ComfyUI was labeled as "image/png" but now the MIME is guessed by the output filename. - Support outputs from multiple nodes: Fix https://github.com/langgenius/dify-official-plugins/issues/920 Refactor: - Move .json files to `tools/json/` - Remove unnecessary get_runtime_parameters() ## 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'm Using `dify_plugin>=0.2.0,<0.4.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.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:42 -05:00
yindo closed this issue 2026-02-16 10:23:43 -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#1693