Skip to content

Commit 4f090c2

Browse files
committed
1.2
1 parent 83120eb commit 4f090c2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

model_lib.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
"Qwen_Image_fp8.safetensors":"https://huggingface.co/StableDiffusionVN/QwenImage/resolve/main/Checkpoint/Qwen_Image_fp8.safetensors",
8282
"Qwen_Image_Edit_fp8.safetensors": "https://huggingface.co/StableDiffusionVN/QwenImage/resolve/main/Checkpoint/Qwen_Image_Edit_fp8.safetensors",
8383
"Qwen_Image_Edit_2509_fp8.safetensors": "https://huggingface.co/StableDiffusionVN/QwenImage/blob/main/Checkpoint/Qwen_Image_Edit_2509_fp8.safetensors",
84+
"Qwen_Image_Edit_2511_fp8_lightning.safetensors": "https://huggingface.co/StableDiffusionVN/QwenImage/blob/main/Checkpoint/Qwen_Image_Edit_2511_fp8_lightning.safetensors",
8485
"Z_Image_turbo_fp16.safetensors": "https://huggingface.co/StableDiffusionVN/Z_turbo/blob/main/Checkpoint/Z_Image_turbo_fp16.safetensors",
8586
"Z_Image_turbo_fp8.safetensors": "https://huggingface.co/StableDiffusionVN/Z_turbo/blob/main/Checkpoint/Z_Image_turbo_fp8.safetensors"
8687
}

node/load.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,6 +1201,8 @@ def INPUT_TYPES(s):
12011201
CATEGORY = "📂 SDVN"
12021202

12031203
def apply_controlnet(self, model, vae, image, model_patch, preprocessor, resolution, strength, mask = None):
1204+
image = UpscaleImage().upscale("Maxsize", resolution, resolution, 1, "None", image)[0]
1205+
latent = ALL_NODE["VAEEncode"]().encode(vae, image)[0]
12041206
if preprocessor == "InvertImage":
12051207
image = ALL_NODE["ImageInvert"]().invert(image)[0]
12061208
elif preprocessor != "None":
@@ -1213,13 +1215,11 @@ def apply_controlnet(self, model, vae, image, model_patch, preprocessor, resolut
12131215
else:
12141216
print(
12151217
"You have not installed it yet Controlnet Aux (https://github.com/Fannovel16/comfyui_controlnet_aux)")
1216-
image = UpscaleImage().upscale("Maxsize", resolution, resolution, 1, "None", image)[0]
12171218
if model_patch in self.modellist:
12181219
model_patch = ALL_NODE["SDVN AnyDownload List"]().any_download_list(model_patch)[0]
12191220
else:
12201221
model_patch = ALL_NODE["ModelPatchLoader"]().load_model_patch(model_patch)[0]
12211222
model = ALL_NODE["QwenImageDiffsynthControlnet"]().diffsynth_controlnet( model, model_patch, vae, image, strength, mask)[0]
1222-
latent = ALL_NODE["VAEEncode"]().encode(vae, image)[0]
12231223
results = ALL_NODE["PreviewImage"]().save_images(image)
12241224
results["result"] = (model, latent)
12251225
return results

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "sdvn_comfy_node"
3-
description = "Update all UI, Image Editor ...."
4-
version = "1.14"
3+
description = "Update support Z-Image, Qwen 2511"
4+
version = "1.2"
55
license = {file = "LICENSE"}
66
dependencies = ["#If MacOs - Please install aria2 manually via brew", "aria2;sys_platform != 'darwin'", "openai", "gallery-dl", "google-generativeai", "googletrans-py"]
77

0 commit comments

Comments
 (0)