comfyui插件错误 #20130

Closed
opened 2026-02-21 20:05:59 -05:00 by yindo · 2 comments
Owner

Originally created by @yangbig730 on GitHub (Nov 4, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I'm using the Comfyui plugin version 0.3.2. This is my workflow:{
"last_node_id": 54,
"last_link_id": 111,
"nodes": [
{
"id": 8,
"type": "VAEDecode",
"pos": [1210, 190],
"size": [210, 46],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 35
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [56, 93],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 39,
"type": "VAELoader",
"pos": [866.3932495117188, 499.18597412109375],
"size": [306.36004638671875, 58],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [76, 99],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"wan_2.1_vae.safetensors"
]
},
{
"id": 28,
"type": "SaveImage",
"pos": [1460, 190],
"size": [315, 130],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 56
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI",
"webp",
100
]
},
{
"id": 47,
"type": "SaveWEBM",
"pos": [2367.213134765625, 193.6114959716797],
"size": [315, 130],
"flags": {},
"order": 13,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 93
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveWEBM"
},
"widgets_values": [
"ComfyUI",
"vp9",
24,
32
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [413, 389],
"size": [425.27801513671875, 180.6060791015625],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [98],
"slot_index": 0
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 50,
"type": "WanImageToVideo",
"pos": [673.0507202148438, 627.272705078125],
"size": [342.5999755859375, 210],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 97
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 98
},
{
"name": "vae",
"type": "VAE",
"link": 99
},
{
"name": "clip_vision_output",
"type": "CLIP_VISION_OUTPUT",
"shape": 7,
"link": 107
},
{
"name": "start_image",
"type": "IMAGE",
"shape": 7,
"link": 106
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [101],
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [102],
"slot_index": 1
},
{
"name": "latent",
"type": "LATENT",
"links": [103],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "WanImageToVideo"
},
"widgets_values": [
512,
512,
33,
1
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [415, 186],
"size": [422.84503173828125, 164.31304931640625],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 74
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [97],
"slot_index": 0
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"{{#1761874256481.text#}}"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 3,
"type": "KSampler",
"pos": [863, 187],
"size": [315, 262],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 111
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 101
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 102
},
{
"name": "latent_image",
"type": "LATENT",
"link": 103
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [35],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
987948718394761,
"randomize",
20,
6,
"uni_pc",
"simple",
1
]
},
{
"id": 49,
"type": "CLIPVisionLoader",
"pos": [20, 640],
"size": [315, 58],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [94],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPVisionLoader"
},
"widgets_values": [
"clip_vision_h.safetensors"
]
},
{
"id": 51,
"type": "CLIPVisionEncode",
"pos": [360, 640],
"size": [253.60000610351562, 78],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 94
},
{
"name": "image",
"type": "IMAGE",
"link": 109
}
],
"outputs": [
{
"name": "CLIP_VISION_OUTPUT",
"type": "CLIP_VISION_OUTPUT",
"links": [107],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPVisionEncode"
},
"widgets_values": [
"none"
]
},
{
"id": 52,
"type": "LoadImage",
"pos": [20, 760],
"size": [315, 314],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [106, 109],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"{{#1761818502249.text#}}",
"image"
]
},
{
"id": 38,
"type": "CLIPLoader",
"pos": [20, 190],
"size": [390, 82],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [74, 75],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"wan",
"default"
]
},
{
"id": 37,
"type": "UNETLoader",
"pos": [20, 70],
"size": [346.7470703125, 82],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [110],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"wan2.1_i2v_480p_14B_fp16.safetensors",
"default"
]
},
{
"id": 54,
"type": "ModelSamplingSD3",
"pos": [510, 70],
"size": [315, 58],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 110
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [111],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelSamplingSD3"
},
"widgets_values": [
8
]
}
],
"links": [
[35, 3, 0, 8, 0, "LATENT"],
[56, 8, 0, 28, 0, "IMAGE"],
[74, 38, 0, 6, 0, "CLIP"],
[75, 38, 0, 7, 0, "CLIP"],
[76, 39, 0, 8, 1, "VAE"],
[93, 8, 0, 47, 0, "IMAGE"],
[94, 49, 0, 51, 0, "CLIP_VISION"],
[97, 6, 0, 50, 0, "CONDITIONING"],
[98, 7, 0, 50, 1, "CONDITIONING"],
[99, 39, 0, 50, 2, "VAE"],
[101, 50, 0, 3, 1, "CONDITIONING"],
[102, 50, 1, 3, 2, "CONDITIONING"],
[103, 50, 2, 3, 3, "LATENT"],
[106, 52, 0, 50, 4, "IMAGE"],
[107, 51, 0, 50, 3, "CLIP_VISION_OUTPUT"],
[109, 52, 0, 51, 1, "IMAGE"],
[110, 37, 0, 54, 0, "MODEL"],
[111, 54, 0, 3, 0, "MODEL"]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.015255979947749,
"offset": [4.576817595742521, -17.69629597715313]
}
},
"version": 0.4
}
when generating video from an image, I encountered an error: "An error occurred in the plugin, please contact the author of langgenius/comfyui/comfyui for help, error type: Exception, error details: Failed to convert Workflow to API ready. WanImageToVideo not found in widgets_value_names." The log information in dify is: api-1 | 2025-11-04 11:03:02.233 ERROR [Dummy-370] [base.py:211] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\"args\":{},\"error_type\":\"Exception\",\"message\":\"Failed to convert Workflow to API ready. WanImageToVideo not found in The code snippet is: widgets_value_names.\"}","error_type":"PluginInvokeError","args":null}', 'data': None}. How can I resolve this? Any assistance would be greatly appreciated. I can run this workflow in the Comfyui web interface.

✔️ Expected Behavior

help me thk

Actual Behavior

error message:An error occurred in the plugin, please contact the author of langgenius/comfyui/comfyui for help, error type: Exception, error details: Failed to convert Workflow to API ready. WanImageToVideo not found in widgets_value_names.

Originally created by @yangbig730 on GitHub (Nov 4, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.9.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I'm using the Comfyui plugin version 0.3.2. This is my workflow:{ "last_node_id": 54, "last_link_id": 111, "nodes": [ { "id": 8, "type": "VAEDecode", "pos": [1210, 190], "size": [210, 46], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 35 }, { "name": "vae", "type": "VAE", "link": 76 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [56, 93], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 39, "type": "VAELoader", "pos": [866.3932495117188, 499.18597412109375], "size": [306.36004638671875, 58], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [76, 99], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "wan_2.1_vae.safetensors" ] }, { "id": 28, "type": "SaveImage", "pos": [1460, 190], "size": [315, 130], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 56 } ], "outputs": [], "properties": { "Node name for S&R": "SaveImage" }, "widgets_values": [ "ComfyUI", "webp", 100 ] }, { "id": 47, "type": "SaveWEBM", "pos": [2367.213134765625, 193.6114959716797], "size": [315, 130], "flags": {}, "order": 13, "mode": 4, "inputs": [ { "name": "images", "type": "IMAGE", "link": 93 } ], "outputs": [], "properties": { "Node name for S&R": "SaveWEBM" }, "widgets_values": [ "ComfyUI", "vp9", 24, 32 ] }, { "id": 7, "type": "CLIPTextEncode", "pos": [413, 389], "size": [425.27801513671875, 180.6060791015625], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 75 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [98], "slot_index": 0 } ], "title": "CLIP Text Encode (Negative Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走" ], "color": "#322", "bgcolor": "#533" }, { "id": 50, "type": "WanImageToVideo", "pos": [673.0507202148438, 627.272705078125], "size": [342.5999755859375, 210], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 97 }, { "name": "negative", "type": "CONDITIONING", "link": 98 }, { "name": "vae", "type": "VAE", "link": 99 }, { "name": "clip_vision_output", "type": "CLIP_VISION_OUTPUT", "shape": 7, "link": 107 }, { "name": "start_image", "type": "IMAGE", "shape": 7, "link": 106 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [101], "slot_index": 0 }, { "name": "negative", "type": "CONDITIONING", "links": [102], "slot_index": 1 }, { "name": "latent", "type": "LATENT", "links": [103], "slot_index": 2 } ], "properties": { "Node name for S&R": "WanImageToVideo" }, "widgets_values": [ 512, 512, 33, 1 ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [415, 186], "size": [422.84503173828125, 164.31304931640625], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 74 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [97], "slot_index": 0 } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "{{#1761874256481.text#}}" ], "color": "#232", "bgcolor": "#353" }, { "id": 3, "type": "KSampler", "pos": [863, 187], "size": [315, 262], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 111 }, { "name": "positive", "type": "CONDITIONING", "link": 101 }, { "name": "negative", "type": "CONDITIONING", "link": 102 }, { "name": "latent_image", "type": "LATENT", "link": 103 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [35], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 987948718394761, "randomize", 20, 6, "uni_pc", "simple", 1 ] }, { "id": 49, "type": "CLIPVisionLoader", "pos": [20, 640], "size": [315, 58], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP_VISION", "type": "CLIP_VISION", "links": [94], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPVisionLoader" }, "widgets_values": [ "clip_vision_h.safetensors" ] }, { "id": 51, "type": "CLIPVisionEncode", "pos": [360, 640], "size": [253.60000610351562, 78], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "clip_vision", "type": "CLIP_VISION", "link": 94 }, { "name": "image", "type": "IMAGE", "link": 109 } ], "outputs": [ { "name": "CLIP_VISION_OUTPUT", "type": "CLIP_VISION_OUTPUT", "links": [107], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPVisionEncode" }, "widgets_values": [ "none" ] }, { "id": 52, "type": "LoadImage", "pos": [20, 760], "size": [315, 314], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [106, 109], "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "slot_index": 1 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "{{#1761818502249.text#}}", "image" ] }, { "id": 38, "type": "CLIPLoader", "pos": [20, 190], "size": [390, 82], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [74, 75], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPLoader" }, "widgets_values": [ "umt5_xxl_fp8_e4m3fn_scaled.safetensors", "wan", "default" ] }, { "id": 37, "type": "UNETLoader", "pos": [20, 70], "size": [346.7470703125, 82], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [110], "slot_index": 0 } ], "properties": { "Node name for S&R": "UNETLoader" }, "widgets_values": [ "wan2.1_i2v_480p_14B_fp16.safetensors", "default" ] }, { "id": 54, "type": "ModelSamplingSD3", "pos": [510, 70], "size": [315, 58], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 110 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [111], "slot_index": 0 } ], "properties": { "Node name for S&R": "ModelSamplingSD3" }, "widgets_values": [ 8 ] } ], "links": [ [35, 3, 0, 8, 0, "LATENT"], [56, 8, 0, 28, 0, "IMAGE"], [74, 38, 0, 6, 0, "CLIP"], [75, 38, 0, 7, 0, "CLIP"], [76, 39, 0, 8, 1, "VAE"], [93, 8, 0, 47, 0, "IMAGE"], [94, 49, 0, 51, 0, "CLIP_VISION"], [97, 6, 0, 50, 0, "CONDITIONING"], [98, 7, 0, 50, 1, "CONDITIONING"], [99, 39, 0, 50, 2, "VAE"], [101, 50, 0, 3, 1, "CONDITIONING"], [102, 50, 1, 3, 2, "CONDITIONING"], [103, 50, 2, 3, 3, "LATENT"], [106, 52, 0, 50, 4, "IMAGE"], [107, 51, 0, 50, 3, "CLIP_VISION_OUTPUT"], [109, 52, 0, 51, 1, "IMAGE"], [110, 37, 0, 54, 0, "MODEL"], [111, 54, 0, 3, 0, "MODEL"] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 1.015255979947749, "offset": [4.576817595742521, -17.69629597715313] } }, "version": 0.4 } when generating video from an image, I encountered an error: "An error occurred in the plugin, please contact the author of langgenius/comfyui/comfyui for help, error type: Exception, error details: Failed to convert Workflow to API ready. WanImageToVideo not found in widgets_value_names." The log information in dify is: api-1 | 2025-11-04 11:03:02.233 ERROR [Dummy-370] [base.py:211] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\\"args\\":{},\\"error_type\\":\\"Exception\\",\\"message\\":\\"Failed to convert Workflow to API ready. WanImageToVideo not found in The code snippet is: widgets_value_names.\\"}","error_type":"PluginInvokeError","args":null}', 'data': None}. How can I resolve this? Any assistance would be greatly appreciated. I can run this workflow in the Comfyui web interface. ### ✔️ Expected Behavior help me thk ### ❌ Actual Behavior error message:An error occurred in the plugin, please contact the author of langgenius/comfyui/comfyui for help, error type: Exception, error details: Failed to convert Workflow to API ready. WanImageToVideo not found in widgets_value_names.
yindo added the 🐞 bug label 2026-02-21 20:05:59 -05:00
yindo closed this issue 2026-02-21 20:05:59 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Nov 4, 2025):

Hi @yangbig730! I'm Dosu and I’m helping the dify team.

The error happens because the Dify ComfyUI plugin only recognizes nodes listed in its static config file, widgets_value_names.json. The node type WanImageToVideo is missing from this file, so the plugin can't convert your workflow for API execution—even though it works in the ComfyUI web UI, which doesn't have this restriction.

To fix this, you need to add an entry for WanImageToVideo to widgets_value_names.json with the correct widget input names. Based on your workflow and similar nodes, the entry should look like:

"WanImageToVideo": [
    "width",
    "height",
    "length",
    "batch_size"
]

Add this to the JSON object in widgets_value_names.json (usually found at tools/comfyui/tools/json/widgets_value_names.json in the plugin code). Make sure the order of the names matches the order of values in your workflow's widgets_values array for this node.

After updating the file, restart the plugin or the Dify service so the changes take effect. This should resolve the error and allow your workflow to run via the API/plugin integration as well as in the web UI.

References:

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

@dosubot[bot] commented on GitHub (Nov 4, 2025): <!-- Greeting --> Hi @yangbig730! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify team. <!-- Answer --> The error happens because the Dify ComfyUI plugin only recognizes nodes listed in its static config file, `widgets_value_names.json`. The node type `WanImageToVideo` is missing from this file, so the plugin can't convert your workflow for API execution—even though it works in the ComfyUI web UI, which doesn't have this restriction. To fix this, you need to add an entry for `WanImageToVideo` to `widgets_value_names.json` with the correct widget input names. Based on your workflow and similar nodes, the entry should look like: ```json "WanImageToVideo": [ "width", "height", "length", "batch_size" ] ``` Add this to the JSON object in `widgets_value_names.json` (usually found at `tools/comfyui/tools/json/widgets_value_names.json` in the plugin code). Make sure the order of the names matches the order of values in your workflow's `widgets_values` array for this node. After updating the file, restart the plugin or the Dify service so the changes take effect. This should resolve the error and allow your workflow to run via the API/plugin integration as well as in the web UI. References: - [widgets_value_names.json example](https://github.com/langgenius/dify-official-plugins/blob/e57ae040fb8589eb00455ad825ccd4f716921b9f/tools/comfyui/tools/json/widgets_value_names.json#L1-L127) - [Plugin workflow conversion code](https://github.com/langgenius/dify-official-plugins/blob/e57ae040fb8589eb00455ad825ccd4f716921b9f/tools/comfyui/tools/comfyui_workflow.py#L70-L90) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/610511f3-65dd-4140-95e8-458eba61058d?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/610511f3-65dd-4140-95e8-458eba61058d?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/610511f3-65dd-4140-95e8-458eba61058d?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/610511f3-65dd-4140-95e8-458eba61058d?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/610511f3-65dd-4140-95e8-458eba61058d?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/610511f3-65dd-4140-95e8-458eba61058d?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/610511f3-65dd-4140-95e8-458eba61058d?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/27826)
Author
Owner

@yangbig730 commented on GitHub (Nov 4, 2025):

Following your reply, I modified the widgets_value_names.json file, {
"AssetDownloader": [
"url",
"save_to",
"filename",
"token"
],
"EmptyLatentImage": [
"width",
"height",
"batch_size"
],
"CheckpointLoaderSimple": [
"ckpt_name"
],
"KSampler": [
"seed",
"control",
"steps",
"cfg",
"sampler_name",
"scheduler",
"denoise"
],
"CLIPTextEncode": [
"text"
],
"VAEEncode": [],
"VAEDecode": [],
"SaveImage": [
"filename_prefix"
],
"LatentUpscale": [
"upscale_method",
"width",
"height",
"crop"
],
"PreviewImage": [],
"LoadImage": [
"image"
],
"ImageScaleToTotalPixels": [
"upscale_method",
"megapixels"
],
"UNETLoader": [
"unet_name",
"weight_dtype"
],
"CLIPLoader": [
"clip_name",
"type",
"device"
],
"VAELoader": [
"vae_name"
],
"CreateVideo": [
"fps"
],
"SaveVideo": [
"filename_prefix",
"format",
"codec"
],
"Wan22ImageToVideoLatent": [
"width",
"height",
"length",
"batch_size"
],
"ModelSamplingSD3": [
"shift"
],
"EmptyHunyuanLatentVideo": [
"width",
"height",
"length",
"batch_size"
],
"LoraLoaderModelOnly": [
"lora_name",
"strength_model"
],
"KSamplerAdvanced": [
"add_noise",
"noise_seed",
"steps",
"cfg",
"sampler_name",
"scheduler",
"start_at_step",
"end_at_step",
"return_with_leftover_noise"
],
"EmptySD3LatentImage": [
"width",
"height",
"batch_size"
],
"FluxGuidance": [
"guidance"
],
"LoraLoader": [
"lora_name",
"strength_model",
"strength_clip"
],
"ModelSamplingAuraFlow": [
"shift"
],
"EmptyLatentAudio": [
"seconds",
"batch_size"
],
"VAEDecodeAudio": [],
"SaveAudio": [
"filename_prefix"
],
"TextEncodeQwenImageEditPlus": [
"prompt"
],
"CFGNorm": [
"strength"
],
"WanImageToVideo": [
"width",
"height",
"length",
"batch_size"
]
} but a new error occurred:An error occurred in the plugin, please contact the author of langgenius/comfyui/comfyui for help, error type: Exception, error details: Failed to convert Workflow to API ready. CLIPVisionLoader not found in widgets_value_names.

@yangbig730 commented on GitHub (Nov 4, 2025): Following your reply, I modified the widgets_value_names.json file, { "AssetDownloader": [ "url", "save_to", "filename", "token" ], "EmptyLatentImage": [ "width", "height", "batch_size" ], "CheckpointLoaderSimple": [ "ckpt_name" ], "KSampler": [ "seed", "control", "steps", "cfg", "sampler_name", "scheduler", "denoise" ], "CLIPTextEncode": [ "text" ], "VAEEncode": [], "VAEDecode": [], "SaveImage": [ "filename_prefix" ], "LatentUpscale": [ "upscale_method", "width", "height", "crop" ], "PreviewImage": [], "LoadImage": [ "image" ], "ImageScaleToTotalPixels": [ "upscale_method", "megapixels" ], "UNETLoader": [ "unet_name", "weight_dtype" ], "CLIPLoader": [ "clip_name", "type", "device" ], "VAELoader": [ "vae_name" ], "CreateVideo": [ "fps" ], "SaveVideo": [ "filename_prefix", "format", "codec" ], "Wan22ImageToVideoLatent": [ "width", "height", "length", "batch_size" ], "ModelSamplingSD3": [ "shift" ], "EmptyHunyuanLatentVideo": [ "width", "height", "length", "batch_size" ], "LoraLoaderModelOnly": [ "lora_name", "strength_model" ], "KSamplerAdvanced": [ "add_noise", "noise_seed", "steps", "cfg", "sampler_name", "scheduler", "start_at_step", "end_at_step", "return_with_leftover_noise" ], "EmptySD3LatentImage": [ "width", "height", "batch_size" ], "FluxGuidance": [ "guidance" ], "LoraLoader": [ "lora_name", "strength_model", "strength_clip" ], "ModelSamplingAuraFlow": [ "shift" ], "EmptyLatentAudio": [ "seconds", "batch_size" ], "VAEDecodeAudio": [], "SaveAudio": [ "filename_prefix" ], "TextEncodeQwenImageEditPlus": [ "prompt" ], "CFGNorm": [ "strength" ], "WanImageToVideo": [ "width", "height", "length", "batch_size" ] } but a new error occurred:An error occurred in the plugin, please contact the author of langgenius/comfyui/comfyui for help, error type: Exception, error details: Failed to convert Workflow to API ready. CLIPVisionLoader not found in widgets_value_names.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#20130