ComfyUI/tests/inference/workflows/qwen-image-edit-0.json

216 lines
3.7 KiB
JSON

{
"3": {
"inputs": {
"seed": 976480016588017,
"steps": 4,
"cfg": 1,
"sampler_name": "res_multistep",
"scheduler": "normal",
"denoise": 1,
"model": [
"75",
0
],
"positive": [
"76",
0
],
"negative": [
"77",
0
],
"latent_image": [
"88",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "KSampler"
}
},
"8": {
"inputs": {
"samples": [
"3",
0
],
"vae": [
"39",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
},
"37": {
"inputs": {
"unet_name": "qwen_image_edit_fp8_e4m3fn.safetensors",
"weight_dtype": "default"
},
"class_type": "UNETLoader",
"_meta": {
"title": "Load Diffusion Model"
}
},
"38": {
"inputs": {
"clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
"type": "qwen_image",
"device": "default"
},
"class_type": "CLIPLoader",
"_meta": {
"title": "Load CLIP"
}
},
"39": {
"inputs": {
"vae_name": "qwen_image_vae.safetensors"
},
"class_type": "VAELoader",
"_meta": {
"title": "Load VAE"
}
},
"60": {
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"8",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "Save Image"
}
},
"66": {
"inputs": {
"shift": 3,
"model": [
"89",
0
]
},
"class_type": "ModelSamplingAuraFlow",
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"75": {
"inputs": {
"strength": 1,
"model": [
"66",
0
]
},
"class_type": "CFGNorm",
"_meta": {
"title": "CFGNorm"
}
},
"76": {
"inputs": {
"prompt": "Remove all UI text elements from the image. Keep the feeling that the characters and scene are in water. Also, remove the green UI elements at the bottom.",
"clip": [
"38",
0
],
"vae": [
"39",
0
],
"image": [
"93",
0
]
},
"class_type": "TextEncodeQwenImageEdit",
"_meta": {
"title": "TextEncodeQwenImageEdit"
}
},
"77": {
"inputs": {
"prompt": "",
"clip": [
"38",
0
],
"vae": [
"39",
0
],
"image": [
"93",
0
]
},
"class_type": "TextEncodeQwenImageEdit",
"_meta": {
"title": "TextEncodeQwenImageEdit"
}
},
"88": {
"inputs": {
"pixels": [
"93",
0
],
"vae": [
"39",
0
]
},
"class_type": "VAEEncode",
"_meta": {
"title": "VAE Encode"
}
},
"89": {
"inputs": {
"lora_name": "Qwen-Image-Edit-Lightning-4steps-V1.0-bf16.safetensors",
"strength_model": 1,
"model": [
"37",
0
]
},
"class_type": "LoraLoaderModelOnly",
"_meta": {
"title": "LoraLoaderModelOnly"
}
},
"93": {
"inputs": {
"upscale_method": "lanczos",
"megapixels": 1,
"image": [
"101",
0
]
},
"class_type": "ImageScaleToTotalPixels",
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"101": {
"inputs": {
"value": "https://comfyanonymous.github.io/ComfyUI_examples/chroma/fennec_girl_sing.png",
"name": "",
"title": "",
"description": "",
"__required": true
},
"class_type": "ImageRequestParameter",
"_meta": {
"title": "ImageRequestParameter"
}
}
}