Timothy J. Baek 8 月之前
父節點
當前提交
3f0b7b29db
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/apps/images/utils/comfyui.py

+ 1 - 1
backend/apps/images/utils/comfyui.py

@@ -133,7 +133,7 @@ async def comfyui_generate_image(
                     else random.randint(0, 18446744073709551614)
                 )
                 for node_id in node.node_ids:
-                    workflow[node.node_id]["inputs"][node.key] = seed
+                    workflow[node_id]["inputs"][node.key] = seed
         else:
             for node_id in node.node_ids:
                 workflow[node_id]["inputs"][node.key] = node.value