Here’s an improved prompt to emphasize keeping the person’s identity, pose, and background intact while changing the clothing in ComfyUI with HiDream:
Prompt:
"A high-quality photograph of [describe the desired clothing in detail, e.g., 'a woman wearing a red summer dress with floral patterns']. The person’s face, body proportions, pose, and background must remain identical to the original image. Preserve every facial feature, hairstyle, and skin texture exactly as they are. The lighting, shadows, and perspective should match the original photo perfectly. Only the clothing should be altered—nothing else. Ensure the person’s identity is 100% recognizable and unchanged."
Negative Prompt (if applicable):
"Blurry face, distorted features, different person, altered pose, changed background, unrealistic proportions, low quality, artifacts, extra limbs, mismatched lighting."
Additional Tips for Better Results:
-
Use a High Denoising Strength (if needed):
- Start with a lower denoising strength (e.g., 0.3–0.5) to retain more of the original image’s structure.
-
Enable "ControlNet" or "Reference-Only" Features:
- If your setup supports it, use ControlNet Pose or Reference-Only to lock the pose and facial features.
-
Adjust the "CFG Scale":
- A lower CFG scale (e.g., 5–7) may help preserve the original details better.
-
Use "Face Restoration" (if available):
- Enable face restoration tools (like CodeFormer or GFP-GAN) to maintain facial fidelity.
-
Try "Inpainting" Mode:
- If possible, mask only the clothing area and use inpainting to avoid altering the rest of the image.
Would you like help fine-tuning other settings (e.g., sampler, steps) for your specific setup?