mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
ComfyUI plugins 0.09 #288
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @huangxiang518 on GitHub (May 15, 2025).
Self Checks
Dify version
1.4.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
ComfyUI 0.0.9 plugins :
If the ComfyUI workflow generates multiple images at one time, for example, 3 images, the first one is correct, the second one has an address but no content, and the address of the third image cannot be seen in the response [nor does it have content]
✔️ Expected Behavior
If generates 3 images,then Return 3 images[urls & contents]
❌ Actual Behavior
If generates 3 images,only 1 image is correct.
@dosubot[bot] commented on GitHub (May 15, 2025):
The issue you're experiencing with the ComfyUI plugins in Dify version 1.4.0, where only the first image is generated correctly while the second and third images have issues with their URLs and contents, might be related to how Dify handles image generation and management in a self-hosted Docker environment.
One potential cause could be the default behavior of ComfyUI using the same seed value for image generation, which can result in identical outputs if not configured properly. Ensure that your workflow explicitly specifies different seed values for each image generation to avoid this issue [1].
Additionally, there might be a known issue with image resolution settings being ignored, which could affect the output [2]. Checking these configurations might help resolve the problem.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@huangxiang518 commented on GitHub (May 15, 2025):
I have checked that the workflow is correct and can generate three pictures correctly [there are three contents in the comfyui background]; but when the comfyui plugin returns to dify, there will be the following situations:
1 sometimes 3 pictures are returned [half of the third picture is displayed];
2 sometimes 2 pictures are returned [the first picture is correct, the second picture does not exist [only url]or is half, and the third picture url is not returned
@yt-koike commented on GitHub (May 26, 2025):
@huangxiang518 Could you please share the DSL file here? I can replicate the situation with it.
@huangxiang518 commented on GitHub (May 27, 2025):
comfyui_sd1.5_common_img&text2img_3pics_api_V1.json
This is my Comfyui workflow,I think the problem is that I need to save 3 pictures in my workflow.
Dify workflow is normal. Use the workflow mode of the Comfyui tool, pass in the json file, set the positive prompt,set the image node to 30, and the seed node to 20
@yt-koike commented on GitHub (May 28, 2025):
Thank you for sharing the Json file! I'll try to generate three or more images with this and figure out the problem.
@yt-koike commented on GitHub (May 28, 2025):
@huangxiang518 Now I see what you were talking about. I thought you were trying to generate some images with batch sizes or iterations but I understand that you were trying so with multiple output nodes like shown below.

I think I can fix this problem on next update. Again, thank you for sharing the bug notice and related data!