{ "1": { "inputs": { "samples": [ "22", 0 ], "vae": [ "13", 0 ] }, "class_type": "VAEDecode", "_meta": { "title": "VAE解码" } }, "2": { "inputs": { "to_ref": true, "ref_main_image": true, "ref_longest_edge": [ "20", 0 ], "ref_crop": "center", "ref_upscale": "lanczos", "to_vl": true, "vl_resize": true, "vl_target_size": 384, "vl_crop": "disabled", "vl_upscale": "bicubic", "image": [ "10", 0 ], "configs": [ "8", 0 ] }, "class_type": "QwenEditConfigPreparer", "_meta": { "title": "Qwen Edit Config Preparer" } }, "7": { "inputs": { "custom_output": [ "15", 2 ] }, "class_type": "QwenEditOutputExtractor", "_meta": { "title": "Qwen Edit Output Extractor" } }, "8": { "inputs": { "to_ref": true, "ref_main_image": true, "ref_longest_edge": [ "9", 0 ], "ref_crop": "center", "ref_upscale": "lanczos", "to_vl": true, "vl_resize": true, "vl_target_size": 384, "vl_crop": "disabled", "vl_upscale": "bicubic", "image": [ "11", 0 ] }, "class_type": "QwenEditConfigPreparer", "_meta": { "title": "Qwen Edit Config Preparer" } }, "9": { "inputs": { "max_size": [ "25", 0 ], "image": [ "11", 0 ] }, "class_type": "QwenEditAdaptiveLongestEdge", "_meta": { "title": "Qwen Edit Adaptive Longest Edge" } }, "10": { "inputs": { "image": "cq5dam.web.hE7E3DA.1800.1800 - 2024-04-29T161212.795.jpg" }, "class_type": "LoadImage", "_meta": { "title": "加载图像" } }, "11": { "inputs": { "image": "cq5dam.web.hE7E3DA.1800.1800 - 2024-04-29T161206.244.jpg" }, "class_type": "LoadImage", "_meta": { "title": "加载图像" } }, "13": { "inputs": { "vae_name": "qwen_image_vae.safetensors" }, "class_type": "VAELoader", "_meta": { "title": "加载VAE" } }, "14": { "inputs": { "prompt": "", "return_full_refs_cond": true, "instruction": "Describe the key features of the input image (color, shape, size, texture, objects, background), then explain how the user's text instruction should alter or modify the image. Generate a new image that meets the user's requirements while maintaining consistency with the original input where appropriate.", "clip": [ "38", 0 ], "vae": [ "13", 0 ], "configs": [ "2", 0 ] }, "class_type": "TextEncodeQwenImageEditPlusCustom_lrzjason", "_meta": { "title": "TextEncodeQwenImageEditPlusCustom lrzjason" } }, "15": { "inputs": { "prompt": [ "31", 0 ], "return_full_refs_cond": true, "instruction": "Describe the key features of the input image (color, shape, size, texture, objects, background), then explain how the user's text instruction should alter or modify the image. Generate a new image that meets the user's requirements while maintaining consistency with the original input where appropriate.", "clip": [ "38", 0 ], "vae": [ "13", 0 ], "configs": [ "2", 0 ] }, "class_type": "TextEncodeQwenImageEditPlusCustom_lrzjason", "_meta": { "title": "TextEncodeQwenImageEditPlusCustom lrzjason" } }, "16": { "inputs": { "gguf_name": "FireRed-Image-Edit-1.1-Q4_0.gguf" }, "class_type": "LoaderGGUF", "_meta": { "title": "GGUF Loader" } }, "17": { "inputs": { "lora_name": "FireRed-Image-Edit-1.0-Lightning-8steps-v1.0.safetensors", "strength_model": 1, "model": [ "16", 0 ] }, "class_type": "LoraLoaderModelOnly", "_meta": { "title": "LoRA加载器(仅模型)" } }, "19": { "inputs": { "image": [ "1", 0 ], "pad_info": [ "7", 0 ] }, "class_type": "CropWithPadInfo", "_meta": { "title": "Crop With Pad Info" } }, "20": { "inputs": { "max_size": [ "25", 0 ], "image": [ "10", 0 ] }, "class_type": "QwenEditAdaptiveLongestEdge", "_meta": { "title": "Qwen Edit Adaptive Longest Edge" } }, "21": { "inputs": { "samples1": [ "15", 1 ], "samples2": [ "14", 1 ] }, "class_type": "LatentAdd", "_meta": { "title": "Latent相加" } }, "22": { "inputs": { "seed": 1121572473225362, "steps": 8, "cfg": 1, "sampler_name": "euler", "scheduler": "normal", "denoise": 1, "model": [ "17", 0 ], "positive": [ "15", 0 ], "negative": [ "14", 0 ], "latent_image": [ "28", 0 ] }, "class_type": "KSampler", "_meta": { "title": "K采样器" } }, "25": { "inputs": { "Number": "1300" }, "class_type": "Int", "_meta": { "title": "Int" } }, "28": { "inputs": { "upscale_method": "nearest-exact", "width": [ "29", 0 ], "height": [ "30", 0 ], "crop": "disabled", "samples": [ "21", 0 ] }, "class_type": "LatentUpscale", "_meta": { "title": "缩放Latent" } }, "29": { "inputs": { "Number": "768" }, "class_type": "Int", "_meta": { "title": "Int" } }, "30": { "inputs": { "Number": "1024" }, "class_type": "Int", "_meta": { "title": "Int" } }, "31": { "inputs": { "value": "图1的背景改成深灰色。并穿上图2的上衣和短裤。保持图1人物的姿势,人脸,配饰不变,构图不变。" }, "class_type": "PrimitiveStringMultiline", "_meta": { "title": "字符串(多行)" } }, "32": { "inputs": { "upscale_method": "nearest-exact", "width": [ "29", 0 ], "height": [ "30", 0 ], "crop": "center", "image": [ "19", 0 ] }, "class_type": "ImageScale", "_meta": { "title": "缩放图像" } }, "33": { "inputs": { "filename_prefix": "ComfyUI", "images": [ "32", 0 ] }, "class_type": "SaveImage", "_meta": { "title": "保存图像" } }, "36": { "inputs": { "rgthree_comparer": { "images": [ { "name": "A", "selected": true, "url": "/api/view?filename=rgthree.compare._temp_olfct_00001_.png&type=temp&subfolder=&rand=0.5054960464066687" }, { "name": "B", "selected": true, "url": "/api/view?filename=rgthree.compare._temp_olfct_00002_.png&type=temp&subfolder=&rand=0.03696578228441516" } ] }, "image_a": [ "32", 0 ], "image_b": [ "11", 0 ] }, "class_type": "Image Comparer (rgthree)", "_meta": { "title": "Image Comparer (rgthree)" } }, "38": { "inputs": { "clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors", "type": "qwen_image", "device": "default" }, "class_type": "CLIPLoader", "_meta": { "title": "加载CLIP" } } }