1d8849cb41
- CLIPLoader clip_name: qwen_3_4b_klein.safetensors (from Comfy-Org/vae-text-encorder-for-flux-klein-4b) - VAE: flux2-vae.safetensors (321MB, same repo) - Live test confirmed: 2.1MB photorealistic 1024x1024 PNG in 52.43s on RX 7900 XTX - Test: assert clip_name == qwen_3_4b_klein.safetensors - 37/37 tests pass
99 lines
1.8 KiB
JSON
99 lines
1.8 KiB
JSON
{
|
|
"1": {
|
|
"class_type": "CLIPLoader",
|
|
"inputs": {
|
|
"clip_name": "qwen_3_4b_klein.safetensors",
|
|
"type": "flux2",
|
|
"device": "default"
|
|
}
|
|
},
|
|
"2": {
|
|
"class_type": "CLIPTextEncode",
|
|
"inputs": {
|
|
"clip": ["1", 0],
|
|
"text": "PROMPT_PLACEHOLDER"
|
|
}
|
|
},
|
|
"3": {
|
|
"class_type": "CLIPTextEncode",
|
|
"inputs": {
|
|
"clip": ["1", 0],
|
|
"text": "NEGATIVE_PLACEHOLDER"
|
|
}
|
|
},
|
|
"4": {
|
|
"class_type": "UNETLoader",
|
|
"inputs": {
|
|
"unet_name": "flux-2-klein-4b.safetensors",
|
|
"weight_dtype": "default"
|
|
}
|
|
},
|
|
"5": {
|
|
"class_type": "VAELoader",
|
|
"inputs": {
|
|
"vae_name": "flux2-vae.safetensors"
|
|
}
|
|
},
|
|
"6": {
|
|
"class_type": "EmptyFlux2LatentImage",
|
|
"inputs": {
|
|
"width": 1024,
|
|
"height": 1024,
|
|
"batch_size": 1
|
|
}
|
|
},
|
|
"7": {
|
|
"class_type": "Flux2Scheduler",
|
|
"inputs": {
|
|
"steps": 20,
|
|
"width": 1024,
|
|
"height": 1024
|
|
}
|
|
},
|
|
"8": {
|
|
"class_type": "CFGGuider",
|
|
"inputs": {
|
|
"model": ["4", 0],
|
|
"positive": ["2", 0],
|
|
"negative": ["3", 0],
|
|
"cfg": 5
|
|
}
|
|
},
|
|
"9": {
|
|
"class_type": "KSamplerSelect",
|
|
"inputs": {
|
|
"sampler_name": "euler"
|
|
}
|
|
},
|
|
"10": {
|
|
"class_type": "RandomNoise",
|
|
"inputs": {
|
|
"noise_seed": 42
|
|
}
|
|
},
|
|
"11": {
|
|
"class_type": "SamplerCustomAdvanced",
|
|
"inputs": {
|
|
"noise": ["10", 0],
|
|
"guider": ["8", 0],
|
|
"sampler": ["9", 0],
|
|
"sigmas": ["7", 0],
|
|
"latent_image": ["6", 0]
|
|
}
|
|
},
|
|
"12": {
|
|
"class_type": "VAEDecode",
|
|
"inputs": {
|
|
"samples": ["11", 0],
|
|
"vae": ["5", 0]
|
|
}
|
|
},
|
|
"13": {
|
|
"class_type": "SaveImage",
|
|
"inputs": {
|
|
"filename_prefix": "mcp-image-gen",
|
|
"images": ["12", 0]
|
|
}
|
|
}
|
|
}
|