Krea image-to-image uses encode plus denoise graphs, not Klein reference latents, and still fails closed if the Krea models are missing. Co-authored-by: Cursor <cursoragent@cursor.com>
142 lines
3.0 KiB
JSON
142 lines
3.0 KiB
JSON
{
|
|
"1": {
|
|
"inputs": { "image": "" },
|
|
"class_type": "LoadImage",
|
|
"_meta": { "title": "Load Canvas" }
|
|
},
|
|
"30": {
|
|
"inputs": { "image": "" },
|
|
"class_type": "LoadImage",
|
|
"_meta": { "title": "Load Mask" }
|
|
},
|
|
"2": {
|
|
"inputs": {
|
|
"upscale_method": "lanczos",
|
|
"megapixels": 1,
|
|
"resolution_steps": 1,
|
|
"image": ["1", 0]
|
|
},
|
|
"class_type": "ImageScaleToTotalPixels",
|
|
"_meta": { "title": "Scale Canvas" }
|
|
},
|
|
"3": {
|
|
"inputs": { "image": ["2", 0] },
|
|
"class_type": "GetImageSize",
|
|
"_meta": { "title": "Get Canvas Size" }
|
|
},
|
|
"31": {
|
|
"inputs": {
|
|
"upscale_method": "lanczos",
|
|
"width": ["3", 0],
|
|
"height": ["3", 1],
|
|
"crop": "disabled",
|
|
"image": ["30", 0]
|
|
},
|
|
"class_type": "ImageScale",
|
|
"_meta": { "title": "Resize Mask to Canvas" }
|
|
},
|
|
"32": {
|
|
"inputs": {
|
|
"channel": "red",
|
|
"image": ["31", 0]
|
|
},
|
|
"class_type": "ImageToMask",
|
|
"_meta": { "title": "Mask Channel" }
|
|
},
|
|
"34": {
|
|
"inputs": {
|
|
"expand": 6,
|
|
"tapered_corners": true,
|
|
"mask": ["32", 0]
|
|
},
|
|
"class_type": "GrowMask",
|
|
"_meta": { "title": "Grow Mask" }
|
|
},
|
|
"4": {
|
|
"inputs": {
|
|
"unet_name": "krea2_turbo_mxfp8.safetensors",
|
|
"weight_dtype": "default"
|
|
},
|
|
"class_type": "UNETLoader",
|
|
"_meta": { "title": "Load Krea 2 Turbo" }
|
|
},
|
|
"5": {
|
|
"inputs": {
|
|
"clip_name": "qwen3vl_4b_fp8_scaled.safetensors",
|
|
"type": "krea2",
|
|
"device": "default"
|
|
},
|
|
"class_type": "CLIPLoader",
|
|
"_meta": { "title": "Load Krea 2 CLIP" }
|
|
},
|
|
"6": {
|
|
"inputs": { "vae_name": "qwen_image_vae.safetensors" },
|
|
"class_type": "VAELoader",
|
|
"_meta": { "title": "Load Qwen Image VAE" }
|
|
},
|
|
"9": {
|
|
"inputs": {
|
|
"text": "",
|
|
"clip": ["5", 0]
|
|
},
|
|
"class_type": "CLIPTextEncode",
|
|
"_meta": { "title": "Positive Prompt" }
|
|
},
|
|
"10": {
|
|
"inputs": {
|
|
"text": "",
|
|
"clip": ["5", 0]
|
|
},
|
|
"class_type": "CLIPTextEncode",
|
|
"_meta": { "title": "Negative Prompt" }
|
|
},
|
|
"11": {
|
|
"inputs": {
|
|
"pixels": ["2", 0],
|
|
"vae": ["6", 0]
|
|
},
|
|
"class_type": "VAEEncode",
|
|
"_meta": { "title": "VAE Encode Canvas" }
|
|
},
|
|
"33": {
|
|
"inputs": {
|
|
"samples": ["11", 0],
|
|
"mask": ["34", 0]
|
|
},
|
|
"class_type": "SetLatentNoiseMask",
|
|
"_meta": { "title": "Mask Latent Noise" }
|
|
},
|
|
"15": {
|
|
"inputs": {
|
|
"seed": 1,
|
|
"steps": 8,
|
|
"cfg": 1,
|
|
"sampler_name": "euler",
|
|
"scheduler": "simple",
|
|
"denoise": 0.35,
|
|
"model": ["4", 0],
|
|
"positive": ["9", 0],
|
|
"negative": ["10", 0],
|
|
"latent_image": ["33", 0]
|
|
},
|
|
"class_type": "KSampler",
|
|
"_meta": { "title": "KSampler" }
|
|
},
|
|
"20": {
|
|
"inputs": {
|
|
"samples": ["15", 0],
|
|
"vae": ["6", 0]
|
|
},
|
|
"class_type": "VAEDecode",
|
|
"_meta": { "title": "VAE Decode" }
|
|
},
|
|
"21": {
|
|
"inputs": {
|
|
"filename_prefix": "aigen-v2-krea-refine",
|
|
"images": ["20", 0]
|
|
},
|
|
"class_type": "SaveImage",
|
|
"_meta": { "title": "Save Image" }
|
|
}
|
|
}
|