Files
aigen/server/assets/krea_v2_compose.json
T
TowstyandCursor 5fe91e6bae Show Flux and Krea as Image v2 engine cards, and run Krea on edit, compose, and refine.
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>
2026-08-29 07:29:31 -05:00

123 lines
2.7 KiB
JSON

{
"1": {
"inputs": { "image": "" },
"class_type": "LoadImage",
"_meta": { "title": "Load Image A" }
},
"22": {
"inputs": { "image": "" },
"class_type": "LoadImage",
"_meta": { "title": "Load Image B" }
},
"2": {
"inputs": {
"upscale_method": "lanczos",
"megapixels": 1,
"resolution_steps": 1,
"image": ["1", 0]
},
"class_type": "ImageScaleToTotalPixels",
"_meta": { "title": "Scale Image A" }
},
"23": {
"inputs": {
"upscale_method": "lanczos",
"megapixels": 1,
"resolution_steps": 1,
"image": ["22", 0]
},
"class_type": "ImageScaleToTotalPixels",
"_meta": { "title": "Scale Image B" }
},
"27": {
"inputs": {
"direction": "right",
"match_image_size": true,
"spacing_width": 0,
"spacing_color": "black",
"image1": ["2", 0],
"image2": ["23", 0]
},
"class_type": "ImageStitch",
"_meta": { "title": "Stitch A then B" }
},
"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": ["27", 0],
"vae": ["6", 0]
},
"class_type": "VAEEncode",
"_meta": { "title": "VAE Encode Stitch" }
},
"15": {
"inputs": {
"seed": 1,
"steps": 8,
"cfg": 1,
"sampler_name": "euler",
"scheduler": "simple",
"denoise": 0.7,
"model": ["4", 0],
"positive": ["9", 0],
"negative": ["10", 0],
"latent_image": ["11", 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-compose",
"images": ["20", 0]
},
"class_type": "SaveImage",
"_meta": { "title": "Save Image" }
}
}