Files
comfyui-workflows/optimized/text-to-image/flux2klein-9b-portrait/workflow.json
T

16 lines
1.9 KiB
JSON

{
"1":{"class_type":"UNETLoader","inputs":{"unet_name":"flux-2-klein-9b-fp8mixed.safetensors","weight_dtype":"default"}},
"2":{"class_type":"CLIPLoader","inputs":{"clip_name":"qwen_3_8b_fp8mixed.safetensors","type":"flux2","device":"default"}},
"3":{"class_type":"VAELoader","inputs":{"vae_name":"flux2-vae.safetensors"}},
"4":{"class_type":"CLIPTextEncode","inputs":{"text":"Hyper-realistic full-body portrait photograph of the subject described by the prompt, natural anatomy, realistic skin and hair, believable clothing and materials, hands and feet fully visible, balanced portrait composition, cinematic motivated lighting, realistic shadows, high dynamic range, sharp subject detail, premium editorial photography, 50mm lens, photorealistic, no text, no logo, no watermark","clip":["2",0]}},
"5":{"class_type":"CLIPTextEncode","inputs":{"text":"cartoon, illustration, anime, CGI look, plastic skin, waxy face, duplicate person, extra limbs, missing limbs, malformed hands, fused fingers, bad anatomy, cropped head, cropped hands, cropped feet, low resolution, watermark, caption, logo, illegible text","clip":["2",0]}},
"6":{"class_type":"CFGGuider","inputs":{"cfg":1.3,"model":["1",0],"positive":["4",0],"negative":["5",0]}},
"7":{"class_type":"KSamplerSelect","inputs":{"sampler_name":"euler_cfg_pp"}},
"8":{"class_type":"Flux2Scheduler","inputs":{"steps":6,"width":1080,"height":1920}},
"9":{"class_type":"RandomNoise","inputs":{"noise_seed":20260920}},
"10":{"class_type":"EmptyFlux2LatentImage","inputs":{"width":1080,"height":1920,"batch_size":1}},
"11":{"class_type":"SamplerCustomAdvanced","inputs":{"noise":["9",0],"guider":["6",0],"sampler":["7",0],"sigmas":["8",0],"latent_image":["10",0]}},
"12":{"class_type":"VAEDecode","inputs":{"samples":["11",0],"vae":["3",0]}},
"13":{"class_type":"SaveImage","inputs":{"filename_prefix":"fluxExperiments/portrait/flux2klein_portrait","images":["12",0]}}
}