From b090b71a96ce886f59b2310362927fef2614d0af Mon Sep 17 00:00:00 2001 From: zjt <937178071@qq.com> Date: Mon, 3 Jun 2024 12:07:00 +0800 Subject: [PATCH] fix --- src/comfyJson/upscale.ts | 95 ++++++++++++++++++++++++++++------------ 1 file changed, 67 insertions(+), 28 deletions(-) diff --git a/src/comfyJson/upscale.ts b/src/comfyJson/upscale.ts index e73b672..f2d6359 100644 --- a/src/comfyJson/upscale.ts +++ b/src/comfyJson/upscale.ts @@ -12,12 +12,12 @@ const upScaleAPIFormatJSON = { 0 ], "positive": [ - "6", + "24", 0 ], "negative": [ - "7", - 0 + "24", + 1 ], "latent_image": [ "5", @@ -43,7 +43,7 @@ const upScaleAPIFormatJSON = { "6": { "inputs": { "text": [ - "18", + "21", 0 ], "clip": [ @@ -56,8 +56,8 @@ const upScaleAPIFormatJSON = { "7": { "inputs": { "text": [ - "17", - 1 + "23", + 0 ], "clip": [ "4", @@ -101,14 +101,14 @@ const upScaleAPIFormatJSON = { }, "12": { "inputs": { - "image": "azalea,cuckoo4.png", + "image": "bamboo19.png", "upload": "image" }, "class_type": "LoadImage" }, "15": { "inputs": { - "weight_style": 0.45, + "weight_style": 1, "weight_composition": 1, "expand_style": false, "combine_embeds": "average", @@ -136,39 +136,78 @@ const upScaleAPIFormatJSON = { }, "16": { "inputs": { - "image": "ART DIR Are.na-07.webp", + "image": "349504911_571837871671274_5418779786907622009_nstp=dst-jpg_e3 (1).jpg", "upload": "image" }, "class_type": "LoadImage" }, - "17": { - "inputs": { - "text_positive": [ - "21", - 0 - ], - "text_negative": "", - "style": "base", - "log_prompt": true, - "style_positive": true, - "style_negative": true - }, - "class_type": "SDXLPromptStyler" - }, "18": { "inputs": { - "text": [ - "17", - 0 - ] + "text": "A minimalistic 3D sculpture focusing on abstract forms that represent , Created Using: abstract art style, minimalistic design, sleek lines, subdued color palette, themes of transience and recurrence, focus on gentle fall, contemplative mood" }, "class_type": "ShowText|pysssss" }, "21": { "inputs": { - "positive": "" + "positive": "此处是01的ll输出结果" }, "class_type": "easy positive" + }, + "23": { + "inputs": { + "positive": "此处是负向提示词" + }, + "class_type": "easy positive" + }, + "24": { + "inputs": { + "strength": 1, + "start_percent": 0, + "end_percent": 1, + "positive": [ + "6", + 0 + ], + "negative": [ + "7", + 0 + ], + "control_net": [ + "25", + 0 + ], + "image": [ + "28", + 0 + ] + }, + "class_type": "ControlNetApplyAdvanced" + }, + "25": { + "inputs": { + "control_net_name": "control-lora-canny-rank256.safetensors" + }, + "class_type": "ControlNetLoader" + }, + "28": { + "inputs": { + "low_threshold": 0.4, + "high_threshold": 0.8, + "image": [ + "12", + 0 + ] + }, + "class_type": "Canny" + }, + "29": { + "inputs": { + "images": [ + "28", + 0 + ] + }, + "class_type": "PreviewImage" } } export {