Files
ai-game-2/tools/image_mask_extraction_with_start.json
2026-03-27 23:33:04 -07:00

404 lines
7.0 KiB
JSON

{
"50": {
"inputs": {
"seed": 23278884
},
"class_type": "Seed (rgthree)",
"_meta": {
"title": "Seed (rgthree)"
}
},
"82": {
"inputs": {
"filename_prefix": "masks/mask_359b122e",
"images": [
"95",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "Save Image"
}
},
"84": {
"inputs": {
"width": [
"86",
0
],
"height": [
"86",
1
],
"upscale_method": "lanczos",
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"crop_position": "center",
"divisible_by": 2,
"device": "cpu",
"image": [
"1:8",
0
]
},
"class_type": "ImageResizeKJv2",
"_meta": {
"title": "Resize Image v2"
}
},
"86": {
"inputs": {
"image": [
"87",
0
]
},
"class_type": "GetImageSize",
"_meta": {
"title": "Get Image Size"
}
},
"87": {
"inputs": {
"image": ""
},
"class_type": "ETN_LoadImageBase64",
"_meta": {
"title": "Load Image (Base64)"
}
},
"88": {
"inputs": {
"factor": 1,
"method": "luminance (Rec.709)",
"image": [
"84",
0
]
},
"class_type": "ImageDesaturate+",
"_meta": {
"title": "🔧 Image Desaturate"
}
},
"89": {
"inputs": {
"channel": "RGB",
"black_point": 121,
"white_point": 255,
"gray_point": 1,
"output_black_point": 0,
"output_white_point": 255,
"image": [
"88",
0
]
},
"class_type": "LayerColor: Levels",
"_meta": {
"title": "LayerColor: Levels"
}
},
"91": {
"inputs": {
"channel": "red",
"image": [
"89",
0
]
},
"class_type": "ImageToMask",
"_meta": {
"title": "Convert Image to Mask"
}
},
"95": {
"inputs": {
"mask": [
"91",
0
]
},
"class_type": "MaskToImage",
"_meta": {
"title": "Convert Mask to Image"
}
},
"96": {
"inputs": {
"filename_prefix": "ComfyUI",
"webhook_url": "http://localhost:5001/api/webhook/comfyui",
"metadata": "",
"external_uid": "",
"images": [
"95",
0
]
},
"class_type": "Webhook",
"_meta": {
"title": "Webhook Image Saver"
}
},
"104": {
"inputs": {
"conditioning": [
"1:69",
0
],
"latent": [
"105",
0
]
},
"class_type": "ReferenceLatent",
"_meta": {
"title": "ReferenceLatent"
}
},
"105": {
"inputs": {
"pixels": [
"87",
0
],
"vae": [
"1:93",
0
]
},
"class_type": "VAEEncode",
"_meta": {
"title": "VAE Encode"
}
},
"106": {
"inputs": {
"conditioning": [
"1:68",
0
],
"latent": [
"105",
0
]
},
"class_type": "ReferenceLatent",
"_meta": {
"title": "ReferenceLatent"
}
},
"1:92": {
"inputs": {
"clip_name": "qwen25vl.safetensors",
"type": "qwen_image",
"device": "default"
},
"class_type": "CLIPLoader",
"_meta": {
"title": "Load CLIP"
}
},
"1:90": {
"inputs": {
"model_name": "qwen-image-edit-2511-Q8_0.gguf",
"extra_model_name": "none",
"dequant_dtype": "default",
"patch_dtype": "default",
"patch_on_device": false,
"enable_fp16_accumulation": true,
"attention_override": "sageattn"
},
"class_type": "GGUFLoaderKJ",
"_meta": {
"title": "GGUFLoaderKJ"
}
},
"1:93": {
"inputs": {
"vae_name": "qwen_image_vae.safetensors"
},
"class_type": "VAELoader",
"_meta": {
"title": "Load VAE"
}
},
"1:91": {
"inputs": {
"lora_01": "qwen/Qwen-Image-Edit-2511-Lightning-8steps-V1.0-fp32.safetensors",
"strength_01": 1,
"lora_02": "qwen/qwen_2511_extract_mask7_000008000.safetensors",
"strength_02": 0.93,
"lora_03": "None",
"strength_03": 1,
"lora_04": "None",
"strength_04": 1,
"model": [
"1:90",
0
],
"clip": [
"1:92",
0
]
},
"class_type": "Lora Loader Stack (rgthree)",
"_meta": {
"title": "Lora Loader Stack (rgthree)"
}
},
"1:67": {
"inputs": {
"shift": 3.1,
"model": [
"1:91",
0
]
},
"class_type": "ModelSamplingAuraFlow",
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"1:68": {
"inputs": {
"prompt": "Create a black and white alpha mask of The grass and stones in the bottom right, leaving everything else black",
"clip": [
"1:91",
1
]
},
"class_type": "TextEncodeQwenImageEditPlus",
"_meta": {
"title": "TextEncodeQwenImageEditPlus (Positive)"
}
},
"1:69": {
"inputs": {
"prompt": "",
"clip": [
"1:91",
1
]
},
"class_type": "TextEncodeQwenImageEditPlus",
"_meta": {
"title": "TextEncodeQwenImageEditPlus"
}
},
"1:64": {
"inputs": {
"strength": 1,
"model": [
"1:67",
0
]
},
"class_type": "CFGNorm",
"_meta": {
"title": "CFGNorm"
}
},
"1:70": {
"inputs": {
"reference_latents_method": "index_timestep_zero",
"conditioning": [
"106",
0
]
},
"class_type": "FluxKontextMultiReferenceLatentMethod",
"_meta": {
"title": "Edit Model Reference Method"
}
},
"1:71": {
"inputs": {
"reference_latents_method": "index_timestep_zero",
"conditioning": [
"104",
0
]
},
"class_type": "FluxKontextMultiReferenceLatentMethod",
"_meta": {
"title": "Edit Model Reference Method"
}
},
"200": {
"inputs": {
"image": ""
},
"class_type": "ETN_LoadImageBase64",
"_meta": {
"title": "Load Starting Mask (Base64)"
}
},
"201": {
"inputs": {
"pixels": [
"200",
0
],
"vae": [
"1:93",
0
]
},
"class_type": "VAEEncode",
"_meta": {
"title": "VAE Encode Starting Mask"
}
},
"1:65": {
"inputs": {
"seed": [
"50",
0
],
"steps": 8,
"cfg": 1,
"sampler_name": "euler",
"scheduler": "simple",
"denoise": 0.8,
"model": [
"1:64",
0
],
"positive": [
"1:70",
0
],
"negative": [
"1:71",
0
],
"latent_image": [
"201",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "KSampler"
}
},
"1:8": {
"inputs": {
"samples": [
"1:65",
0
],
"vae": [
"1:93",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
}
}