From 1caa5c3b7ad0a4432dbeec89b349bafd3106d8ff Mon Sep 17 00:00:00 2001 From: Morpheus Date: Mon, 21 Sep 2026 14:45:00 +0000 Subject: [PATCH] Make Flux2 Klein image edit prompt reference-driven --- .../image-edit/flux2klein-9b-photorealistic-character/README.md | 2 +- .../flux2klein-9b-photorealistic-character/ui-workflow.json | 2 +- .../flux2klein-9b-photorealistic-character/workflow.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/optimized/image-edit/flux2klein-9b-photorealistic-character/README.md b/optimized/image-edit/flux2klein-9b-photorealistic-character/README.md index c8bd01a..174707c 100644 --- a/optimized/image-edit/flux2klein-9b-photorealistic-character/README.md +++ b/optimized/image-edit/flux2klein-9b-photorealistic-character/README.md @@ -1,6 +1,6 @@ # Flux.2 Klein — photorealistic character conversion -Converts a stylized character reference into a photorealistic full-body editorial photograph while preserving identity, pose, clothing, accessories, and framing. +Converts any supplied reference image into a photorealistic image of the same subject. The prompt is intentionally generic: identity, pose, clothing, accessories, colors, proportions, composition, and framing are inferred from the reference image rather than hard-coded. ## Tested baseline diff --git a/optimized/image-edit/flux2klein-9b-photorealistic-character/ui-workflow.json b/optimized/image-edit/flux2klein-9b-photorealistic-character/ui-workflow.json index 3c6ebb5..1a58e14 100644 --- a/optimized/image-edit/flux2klein-9b-photorealistic-character/ui-workflow.json +++ b/optimized/image-edit/flux2klein-9b-photorealistic-character/ui-workflow.json @@ -8,7 +8,7 @@ {"id":80,"type":"ImageScaleToTotalPixels","pos":[-500,720],"size":[270,140],"flags":{},"order":4,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":1}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[6,7]}],"properties":{"Node name for S&R":"ImageScaleToTotalPixels"},"widgets_values":["nearest-exact",1.0,1]}, {"id":99,"type":"GetImageSize","pos":[-100,720],"size":[230,120],"flags":{},"order":5,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":7}],"outputs":[{"name":"width","type":"INT","links":[8,9]},{"name":"height","type":"INT","links":[10,11]}],"properties":{"Node name for S&R":"GetImageSize"},"widgets_values":[]}, {"id":124,"type":"VAEEncode","pos":[-100,500],"size":[230,100],"flags":{},"order":6,"mode":0,"inputs":[{"name":"pixels","type":"IMAGE","link":6},{"name":"vae","type":"VAE","link":4}],"outputs":[{"name":"LATENT","type":"LATENT","links":[12,13]}],"properties":{"Node name for S&R":"VAEEncode"},"widgets_values":[]}, - {"id":74,"type":"CLIPTextEncode","pos":[0,40],"size":[650,400],"flags":{},"order":7,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":3}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[14]}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["Transform the provided stylized character illustration into a photorealistic full-body editorial street-fashion photograph of the same adult male character. Preserve the exact identity, facial structure, skin tone, hairstyle, trimmed goatee, round sunglasses, backward purple-and-green baseball cap, gold hoop earring, layered gold chains, purple oversized satin bomber jacket, white graphic T-shirt, loose olive-green cargo pants, white socks and purple-white sneakers, the relaxed confident pose, hand positions, three-quarter stance, full-body framing and outfit color palette. Replace the flat illustrated rendering with natural human skin texture, realistic pores, believable facial anatomy, physically accurate fabric, stitching, metallic jewelry reflections, detailed sneakers, realistic hands and fingers, true-to-life proportions, subtle imperfection, cinematic soft daylight, warm golden-hour key light, gentle directional shadows, shallow but sufficient depth of field, premium fashion photography, 50mm lens, high dynamic range, neutral realistic color grading, photorealistic, highly detailed, sharp subject, believable urban setting while keeping the character and composition recognizable. Preserve the original garment silhouettes and accessories exactly; avoid changing the character into a different person, avoid cropping the shoes or cap, and keep both hands fully visible."]}, + {"id":74,"type":"CLIPTextEncode","pos":[0,40],"size":[650,400],"flags":{},"order":7,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":3}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[14]}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["Transform the provided reference image into a photorealistic image of the same subject. Infer the subject's identity, facial features, skin tone, hairstyle, clothing, accessories, colors, pose, body proportions, hand positions, composition, and framing directly from the reference image. Preserve those inferred visual attributes faithfully while replacing the original rendering style with natural human anatomy, realistic skin and hair texture, physically accurate materials, believable fabric and surface detail, natural hands and fingers, cinematic soft daylight, realistic shadows, coherent perspective, premium editorial photography, 50mm lens, high dynamic range, neutral color grading, photorealistic, highly detailed, sharp subject, and a believable environment appropriate to the reference. Do not redesign, restyle, or substitute the subject. Do not add or remove important clothing, accessories, objects, or body features. Avoid cropping the subject."]}, {"id":82,"type":"ConditioningZeroOut","pos":[720,500],"size":[220,80],"flags":{},"order":8,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":14}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[15]}],"properties":{"Node name for S&R":"ConditioningZeroOut"},"widgets_values":[]}, {"id":125,"type":"ReferenceLatent","pos":[720,100],"size":[230,100],"flags":{},"order":9,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":14},{"name":"latent","type":"LATENT","link":12}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[16]}],"properties":{"Node name for S&R":"ReferenceLatent"},"widgets_values":[]}, {"id":123,"type":"ReferenceLatent","pos":[720,650],"size":[230,100],"flags":{},"order":10,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":15},{"name":"latent","type":"LATENT","link":13}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[17]}],"properties":{"Node name for S&R":"ReferenceLatent"},"widgets_values":[]}, diff --git a/optimized/image-edit/flux2klein-9b-photorealistic-character/workflow.json b/optimized/image-edit/flux2klein-9b-photorealistic-character/workflow.json index 2f25453..a126cea 100644 --- a/optimized/image-edit/flux2klein-9b-photorealistic-character/workflow.json +++ b/optimized/image-edit/flux2klein-9b-photorealistic-character/workflow.json @@ -6,7 +6,7 @@ "80": {"class_type":"ImageScaleToTotalPixels","inputs":{"image":["1",0],"upscale_method":"nearest-exact","megapixels":1.0,"resolution_steps":1}}, "99": {"class_type":"GetImageSize","inputs":{"image":["80",0]}}, "124": {"class_type":"VAEEncode","inputs":{"pixels":["80",0],"vae":["72",0]}}, - "74": {"class_type":"CLIPTextEncode","inputs":{"text":"Transform the provided stylized character illustration into a photorealistic full-body editorial street-fashion photograph of the same adult male character. Preserve the exact identity, facial structure, skin tone, hairstyle, trimmed goatee, round sunglasses, backward purple-and-green baseball cap, gold hoop earring, layered gold chains, purple oversized satin bomber jacket, white graphic T-shirt, loose olive-green cargo pants, white socks and purple-white sneakers, the relaxed confident pose, hand positions, three-quarter stance, full-body framing and outfit color palette. Replace the flat illustrated rendering with natural human skin texture, realistic pores, believable facial anatomy, physically accurate fabric, stitching, metallic jewelry reflections, detailed sneakers, realistic hands and fingers, true-to-life proportions, subtle imperfection, cinematic soft daylight, warm golden-hour key light, gentle directional shadows, shallow but sufficient depth of field, premium fashion photography, 50mm lens, high dynamic range, neutral realistic color grading, photorealistic, highly detailed, sharp subject, believable urban setting while keeping the character and composition recognizable. Preserve the original garment silhouettes and accessories exactly; avoid changing the character into a different person, avoid cropping the shoes or cap, and keep both hands fully visible.","clip":["71",0]}}, + "74": {"class_type":"CLIPTextEncode","inputs":{"text":"Transform the provided reference image into a photorealistic image of the same subject. Infer the subject's identity, facial features, skin tone, hairstyle, clothing, accessories, colors, pose, body proportions, hand positions, composition, and framing directly from the reference image. Preserve those inferred visual attributes faithfully while replacing the original rendering style with natural human anatomy, realistic skin and hair texture, physically accurate materials, believable fabric and surface detail, natural hands and fingers, cinematic soft daylight, realistic shadows, coherent perspective, premium editorial photography, 50mm lens, high dynamic range, neutral color grading, photorealistic, highly detailed, sharp subject, and a believable environment appropriate to the reference. Do not redesign, restyle, or substitute the subject. Do not add or remove important clothing, accessories, objects, or body features. Avoid cropping the subject.","clip":["71",0]}}, "82": {"class_type":"ConditioningZeroOut","inputs":{"conditioning":["74",0]}}, "125": {"class_type":"ReferenceLatent","inputs":{"conditioning":["74",0],"latent":["124",0]}}, "123": {"class_type":"ReferenceLatent","inputs":{"conditioning":["82",0],"latent":["124",0]}},