Files
aigen/server/assets/klein_v2_compose.json
T
TowstyandCursor 21fe2412f9 Add Image v2 as a sibling of Image edit, with separate Klein graphs.
Keep the v1 Image tab on its dual-branch template. The host agent follows Desktop's live port so Coolify stays on :8198.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 21:22:37 -05:00

211 lines
4.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" }
},
"3": {
"inputs": { "image": ["2", 0] },
"class_type": "GetImageSize",
"_meta": { "title": "Get Image Size" }
},
"4": {
"inputs": {
"unet_name": "flux-2-klein-base-9b-fp8.safetensors",
"weight_dtype": "default"
},
"class_type": "UNETLoader",
"_meta": { "title": "Load Flux.2 Klein 9B Base" }
},
"5": {
"inputs": {
"clip_name": "qwen_3_8b_fp8mixed.safetensors",
"type": "flux2",
"device": "default"
},
"class_type": "CLIPLoader",
"_meta": { "title": "Load Qwen 3 8B CLIP" }
},
"6": {
"inputs": { "vae_name": "full_encoder_small_decoder.safetensors" },
"class_type": "VAELoader",
"_meta": { "title": "Load Klein VAE" }
},
"7": {
"inputs": {
"lora_name": "klein_snofs_v1_4.safetensors",
"strength_model": 0.65,
"strength_clip": 0.35,
"model": ["4", 0],
"clip": ["5", 0]
},
"class_type": "LoraLoader",
"_meta": { "title": "SNOFS" }
},
"8": {
"inputs": {
"lora_name": "Flux2-Klein-9B-consistency-V2.safetensors",
"strength_model": 0.7,
"strength_clip": 0.7,
"model": ["7", 0],
"clip": ["7", 1]
},
"class_type": "LoraLoader",
"_meta": { "title": "Consistency" }
},
"9": {
"inputs": {
"text": "",
"clip": ["8", 1]
},
"class_type": "CLIPTextEncode",
"_meta": { "title": "Positive Prompt" }
},
"10": {
"inputs": {
"text": "",
"clip": ["8", 1]
},
"class_type": "CLIPTextEncode",
"_meta": { "title": "Negative Prompt" }
},
"11": {
"inputs": {
"pixels": ["2", 0],
"vae": ["6", 0]
},
"class_type": "VAEEncode",
"_meta": { "title": "VAE Encode A" }
},
"24": {
"inputs": {
"pixels": ["23", 0],
"vae": ["6", 0]
},
"class_type": "VAEEncode",
"_meta": { "title": "VAE Encode B" }
},
"12": {
"inputs": {
"conditioning": ["9", 0],
"latent": ["11", 0]
},
"class_type": "ReferenceLatent",
"_meta": { "title": "Reference Latent A+" }
},
"25": {
"inputs": {
"conditioning": ["12", 0],
"latent": ["24", 0]
},
"class_type": "ReferenceLatent",
"_meta": { "title": "Reference Latent B+" }
},
"13": {
"inputs": {
"conditioning": ["10", 0],
"latent": ["11", 0]
},
"class_type": "ReferenceLatent",
"_meta": { "title": "Reference Latent A-" }
},
"26": {
"inputs": {
"conditioning": ["13", 0],
"latent": ["24", 0]
},
"class_type": "ReferenceLatent",
"_meta": { "title": "Reference Latent B-" }
},
"14": {
"inputs": {
"width": ["3", 0],
"height": ["3", 1],
"batch_size": 1
},
"class_type": "EmptyFlux2LatentImage",
"_meta": { "title": "Empty Flux 2 Latent" }
},
"15": {
"inputs": { "noise_seed": 1 },
"class_type": "RandomNoise",
"_meta": { "title": "RandomNoise" }
},
"16": {
"inputs": { "sampler_name": "euler" },
"class_type": "KSamplerSelect",
"_meta": { "title": "KSamplerSelect" }
},
"17": {
"inputs": {
"steps": 24,
"width": ["3", 0],
"height": ["3", 1]
},
"class_type": "Flux2Scheduler",
"_meta": { "title": "Flux2Scheduler" }
},
"18": {
"inputs": {
"cfg": 4,
"model": ["8", 0],
"positive": ["25", 0],
"negative": ["26", 0]
},
"class_type": "CFGGuider",
"_meta": { "title": "CFG Guider" }
},
"19": {
"inputs": {
"noise": ["15", 0],
"guider": ["18", 0],
"sampler": ["16", 0],
"sigmas": ["17", 0],
"latent_image": ["14", 0]
},
"class_type": "SamplerCustomAdvanced",
"_meta": { "title": "SamplerCustomAdvanced" }
},
"20": {
"inputs": {
"samples": ["19", 0],
"vae": ["6", 0]
},
"class_type": "VAEDecode",
"_meta": { "title": "VAE Decode" }
},
"21": {
"inputs": {
"filename_prefix": "aigen-v2",
"images": ["20", 0]
},
"class_type": "SaveImage",
"_meta": { "title": "Save Image" }
}
}