76 lines
1.8 KiB
JSON
76 lines
1.8 KiB
JSON
{
|
|
"1": {
|
|
"class_type": "UnetLoaderGGUF",
|
|
"inputs": { "unet_name": "Qwen-Rapid-NSFW-v23_Q8_0.gguf" },
|
|
"_meta": { "title": "unet (gguf)" }
|
|
},
|
|
"2": {
|
|
"class_type": "CLIPLoader",
|
|
"inputs": {
|
|
"clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
|
|
"type": "qwen_image"
|
|
},
|
|
"_meta": { "title": "text encoder" }
|
|
},
|
|
"3": {
|
|
"class_type": "VAELoader",
|
|
"inputs": { "vae_name": "qwen_image_vae.safetensors" },
|
|
"_meta": { "title": "vae" }
|
|
},
|
|
"4": {
|
|
"class_type": "LoadImage",
|
|
"inputs": { "image": "input.png" },
|
|
"_meta": { "title": "input image" }
|
|
},
|
|
"5": {
|
|
"class_type": "TextEncodeQwenImageEditPlus",
|
|
"inputs": {
|
|
"clip": ["2", 0],
|
|
"vae": ["3", 0],
|
|
"image1": ["4", 0],
|
|
"prompt": "edit instruction goes here"
|
|
},
|
|
"_meta": { "title": "positive" }
|
|
},
|
|
"6": {
|
|
"class_type": "TextEncodeQwenImageEditPlus",
|
|
"inputs": {
|
|
"clip": ["2", 0],
|
|
"vae": ["3", 0],
|
|
"prompt": " "
|
|
},
|
|
"_meta": { "title": "negative" }
|
|
},
|
|
"7": {
|
|
"class_type": "EmptySD3LatentImage",
|
|
"inputs": { "width": 1024, "height": 1024, "batch_size": 1 },
|
|
"_meta": { "title": "latent" }
|
|
},
|
|
"8": {
|
|
"class_type": "KSampler",
|
|
"inputs": {
|
|
"model": ["1", 0],
|
|
"positive": ["5", 0],
|
|
"negative": ["6", 0],
|
|
"latent_image": ["7", 0],
|
|
"seed": 0,
|
|
"steps": 4,
|
|
"cfg": 1.0,
|
|
"sampler_name": "euler_ancestral",
|
|
"scheduler": "beta",
|
|
"denoise": 1.0
|
|
},
|
|
"_meta": { "title": "sampler" }
|
|
},
|
|
"9": {
|
|
"class_type": "VAEDecode",
|
|
"inputs": { "samples": ["8", 0], "vae": ["3", 0] },
|
|
"_meta": { "title": "decode" }
|
|
},
|
|
"10": {
|
|
"class_type": "SaveImage",
|
|
"inputs": { "images": ["9", 0], "filename_prefix": "qwenedit" },
|
|
"_meta": { "title": "save" }
|
|
}
|
|
}
|