From 4b62b5cd07241903a25d4a863080adb6feeaa135 Mon Sep 17 00:00:00 2001 From: Karl <karl@k-world.me.uk> Date: Wed, 4 Jun 2025 10:03:17 +0100 Subject: [PATCH] was sending prompt to positive and negative --- libs/comfyui.py | 2 +- workflow_sdxl.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/comfyui.py b/libs/comfyui.py index 32ea369..c686f61 100644 --- a/libs/comfyui.py +++ b/libs/comfyui.py @@ -64,7 +64,7 @@ def generate_image( file_name: str, comfy_prompt: str, workflow_path: str = "./workflow_sdxl.json", - prompt_node: str = "CLIP Text Encode (Prompt)", + prompt_node: str = "Positive", seed_node: str = "KSampler", seed_param: str = "seed", save_node: str = "Save Image", diff --git a/workflow_sdxl.json b/workflow_sdxl.json index 5f4f3b1..5ee007b 100644 --- a/workflow_sdxl.json +++ b/workflow_sdxl.json @@ -59,7 +59,7 @@ }, "class_type": "CLIPTextEncode", "_meta": { - "title": "CLIP Text Encode (Prompt)" + "title": "Positive" } }, "7": { @@ -72,7 +72,7 @@ }, "class_type": "CLIPTextEncode", "_meta": { - "title": "CLIP Text Encode (Prompt)" + "title": "Negative" } }, "8": {