From b23ff33607494184b948908c5b7a858fff387a46 Mon Sep 17 00:00:00 2001 From: Morpheus Date: Mon, 21 Sep 2026 18:54:51 +0000 Subject: [PATCH] Add portrait Flux2 Klein workflow --- .../flux2klein-9b-portrait/README.md | 9 +++++++++ .../flux2klein-9b-portrait/workflow.json | 15 +++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 optimized/text-to-image/flux2klein-9b-portrait/README.md create mode 100644 optimized/text-to-image/flux2klein-9b-portrait/workflow.json diff --git a/optimized/text-to-image/flux2klein-9b-portrait/README.md b/optimized/text-to-image/flux2klein-9b-portrait/README.md new file mode 100644 index 0000000..3138007 --- /dev/null +++ b/optimized/text-to-image/flux2klein-9b-portrait/README.md @@ -0,0 +1,9 @@ +# Flux.2 Klein 9B portrait + +Portrait-oriented Flux.2 Klein text-to-image workflow for person-focused generations. + +- Canvas: 1080×1920 +- Intended use: full-body people and portrait compositions +- Server: ComfyUI Flux.2 Klein 9B + +Edit node `4` with the subject prompt while retaining the portrait framing and negative constraints. diff --git a/optimized/text-to-image/flux2klein-9b-portrait/workflow.json b/optimized/text-to-image/flux2klein-9b-portrait/workflow.json new file mode 100644 index 0000000..a9d5edf --- /dev/null +++ b/optimized/text-to-image/flux2klein-9b-portrait/workflow.json @@ -0,0 +1,15 @@ +{ + "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]}} +}