Add FLUX3 DWPose repose workflow

This commit is contained in:
Morpheus
2026-11-07 21:07:25 +00:00
parent 950a276dca
commit c2c0cec4e5
7 changed files with 95 additions and 0 deletions
@@ -0,0 +1,24 @@
{
"1": {"class_type":"LoadImage","inputs":{"image":"Char073.png"}},
"2": {"class_type":"LoadImage","inputs":{"image":"pose_reference.jpg"}},
"3": {"class_type":"ImageScaleToTotalPixels","inputs":{"image":["1",0],"upscale_method":"lanczos","megapixels":1.0,"resolution_steps":1}},
"4": {"class_type":"ImageScaleToTotalPixels","inputs":{"image":["2",0],"upscale_method":"lanczos","megapixels":1.0,"resolution_steps":1}},
"5": {"class_type":"DWPreprocessor","inputs":{"image":["4",0],"detect_hand":"enable","detect_body":"enable","detect_face":"disable","resolution":768,"bbox_detector":"yolox_l.onnx","pose_estimator":"dw-ll_ucoco_384.onnx","scale_stick_for_xinsr_cn":"disable"}},
"6": {"class_type":"UNETLoader","inputs":{"unet_name":"flux3-image-klein-int8-convrot.safetensors","weight_dtype":"default"}},
"7": {"class_type":"CLIPLoader","inputs":{"clip_name":"qwen3-vl-4b-heretic_int8.safetensors","type":"flux3","device":"default"}},
"8": {"class_type":"VAELoader","inputs":{"vae_name":"flux2-vae.safetensors"}},
"9": {"class_type":"VAEEncode","inputs":{"pixels":["3",0],"vae":["8",0]}},
"10": {"class_type":"VAEEncode","inputs":{"pixels":["5",0],"vae":["8",0]}},
"11": {"class_type":"CLIPTextEncode","inputs":{"text":"Create a photorealistic portrait of the exact adult woman in image 1, preserving her face, hair, skin tone, white outfit, accessories and proportions. Image 2 is a DWPose skeleton map and controls only the pose: one knee grounded, the other leg bent forward, torso leaning diagonally, one arm extended straight overhead and the other reaching down naturally. Do not copy clothing, identity, face, hair, background or colours from image 2. Preserve image 1 character and outfit. Keep one woman, anatomically correct hands and limbs, realistic weight and fabric folds, warm indoor photographic lighting, natural skin texture, shallow depth of field. No duplicate person, extra limbs, text or watermark.","clip":["7",0]}},
"12": {"class_type":"FluxGuidance","inputs":{"conditioning":["11",0],"guidance":1.0}},
"13": {"class_type":"ReferenceLatent","inputs":{"conditioning":["12",0],"latent":["9",0]}},
"14": {"class_type":"ReferenceLatent","inputs":{"conditioning":["13",0],"latent":["10",0]}},
"15": {"class_type":"BasicGuider","inputs":{"model":["6",0],"conditioning":["14",0]}},
"16": {"class_type":"KSamplerSelect","inputs":{"sampler_name":"euler_ancestral"}},
"17": {"class_type":"BasicScheduler","inputs":{"model":["6",0],"scheduler":"simple","steps":16,"denoise":1.0}},
"18": {"class_type":"RandomNoise","inputs":{"noise_seed":731104}},
"19": {"class_type":"EmptyLatentImage","inputs":{"width":1616,"height":2464,"batch_size":1}},
"20": {"class_type":"SamplerCustomAdvanced","inputs":{"noise":["18",0],"guider":["15",0],"sampler":["16",0],"sigmas":["17",0],"latent_image":["19",0]}},
"21": {"class_type":"VAEDecode","inputs":{"samples":["20",0],"vae":["8",0]}},
"22": {"class_type":"SaveImage","inputs":{"images":["21",0],"filename_prefix":"fluxExperiments/repose/FLUX3-repose-Char073-kneeling-4mp"}}
}