Add Image v2 Generate for Klein text-to-image.

New sibling graph and mode so T2I does not borrow Edit, Compose, or Refine. Stills are ignored; size is width x height only.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-08-28 22:56:33 -05:00
co-authored by Cursor
parent a2895b8054
commit b35f9af10d
9 changed files with 511 additions and 112 deletions
+127
View File
@@ -0,0 +1,127 @@
{
"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,
"strength_clip": 0,
"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" }
},
"14": {
"inputs": {
"width": 1024,
"height": 1024,
"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": 1024,
"height": 1024
},
"class_type": "Flux2Scheduler",
"_meta": { "title": "Flux2Scheduler" }
},
"18": {
"inputs": {
"cfg": 4,
"model": ["8", 0],
"positive": ["9", 0],
"negative": ["10", 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-generate",
"images": ["20", 0]
},
"class_type": "SaveImage",
"_meta": { "title": "Save Image" }
}
}