Files
comfyui-workflows/optimized/archive/qwen-character-sheet/workflow.json
T

123 lines
3.9 KiB
JSON

{
"1": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "qwen_image_2.1_int8_convrot.safetensors",
"weight_dtype": "default"
}
},
"2": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_8b_w4a8.safetensors",
"type": "qwen_image",
"device": "default"
}
},
"3": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "qwen_image_2.1_vae_bf16.safetensors"
}
},
"4": {
"class_type": "LoadImage",
"inputs": {
"image": "character_reference.png"
}
},
"5": {
"class_type": "ResizeAndPadImage",
"inputs": {
"image": ["4", 0],
"target_width": 1024,
"target_height": 576,
"padding_color": "white",
"interpolation": "lanczos"
}
},
"6": {
"class_type": "QwenImage21Cache",
"inputs": {
"model": ["1", 0],
"device": "auto",
"dtype": "int8"
}
},
"7": {
"class_type": "TextEncodeQwenImage21",
"inputs": {
"clip": ["2", 0],
"prompt": "Use the supplied character image as the authoritative identity reference. Create a professional 3 by 3 character reference sheet for the exact same subject. Preserve the subject's identity, face, hairstyle, body proportions, age, clothing, accessories, colors, materials, markings, and overall design directly from the input regardless of its original gender, style, medium, pose, or realism. Use exactly nine separated panels: top row full-body front, full-body three-quarter front, full-body left profile; middle row full-body right profile, full-body back, full-body three-quarter back with normal visible colors and details, never a silhouette; bottom row close-up head-and-shoulders front, close-up head-and-shoulders three-quarter left, close-up head-and-shoulders three-quarter right. Keep one consistent subject in every panel, with clear complete silhouettes and natural anatomy. Use a neutral studio background and even soft lighting. No redesign, no costume changes, no extra subjects, no duplicate heads, no merged panels, no cropped full bodies, no silhouette, no black cutout, no borders, no labels, no captions, no logos, no readable text, no watermark.",
"negative_prompt": "low quality, blurry, distorted anatomy, different identity, different face, different hairstyle, different clothing, different colors, duplicate person, extra person, extra head, extra limbs, missing limbs, fused fingers, malformed hands, cropped feet, cropped head, panels bleeding into each other, overlapping views, inconsistent scale, random costume changes, silhouette, black cutout, solid black figure, text, labels, captions, logo, watermark",
"resolution": 0,
"images.image_1": ["5", 0],
"vae": ["3", 0]
}
},
"8": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler"
}
},
"9": {
"class_type": "BasicScheduler",
"inputs": {
"model": ["6", 0],
"scheduler": "simple",
"steps": 24,
"denoise": 1
}
},
"10": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 20260922
}
},
"11": {
"class_type": "CFGGuider",
"inputs": {
"model": ["6", 0],
"positive": ["7", 0],
"negative": ["7", 1],
"cfg": 4
}
},
"12": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"noise": ["10", 0],
"guider": ["11", 0],
"sampler": ["8", 0],
"sigmas": ["9", 0],
"latent_image": ["7", 2]
}
},
"13": {
"class_type": "VAEDecode",
"inputs": {
"samples": ["12", 0],
"vae": ["3", 0]
}
},
"14": {
"class_type": "ResizeAndPadImage",
"inputs": {
"image": ["13", 0],
"target_width": 1920,
"target_height": 1088,
"padding_color": "white",
"interpolation": "lanczos"
}
},
"15": {
"class_type": "SaveImage",
"inputs": {
"images": ["14", 0],
"filename_prefix": "fluxExperiments/qwenImage21/edit_character_sheet"
}
}
}