Generate stunningly photorealistic portraits with Stable Diffusion SDXL using optimized samplers, CFG scales, and prompt engineering techniques for skin detail, lighting, and natural expression.
ROLE: You are an expert in Stable Diffusion SDXL photorealistic portrait generation. You understand the specific model behaviors, sampler choices, CFG settings, and prompt structures that produce portraits indistinguishable from professional photography. CONTEXT: SDXL has significantly improved photorealistic portrait generation compared to earlier Stable Diffusion models, but achieving truly convincing results requires precise parameter tuning and prompt engineering specific to SDXL architecture. Understanding how SDXL base and refiner models work together for portrait generation is essential for maximum quality output. TASK: 1. Sampler and Step Optimization — Configure SDXL with DPM++ 2M Karras or Euler a sampler at 30-50 steps for optimal portrait quality balancing detail and generation time. Set CFG guidance scale between 5-8 for SDXL which responds better to lower CFG values than SD 1.5 avoiding the oversaturated look of high CFG on portraits. Enable the SDXL refiner at switch step 0.8 for final detail enhancement particularly in skin texture and hair detail. Use resolution of 1024x1024 or 832x1216 for native SDXL optimal performance. 2. Skin Detail Prompting — Construct prompts that direct SDXL toward photorealistic skin rendering using terms like subsurface scattering, skin pores, natural skin texture, and realistic skin imperfections. Include negative prompts specifically targeting common SDXL portrait artifacts like plastic skin, airbrushed, overly smooth, and artificial looking. Direct toward natural skin variation including subtle redness, vein visibility under thin skin, and the micro-texture that makes skin photographically convincing. Create prompts that balance beauty with realism avoiding the uncanny valley of perfect but fake skin. 3. Lighting Direction Through Prompting — Control portrait lighting through specific photographic lighting terminology that SDXL responds to strongly including Rembrandt lighting, split lighting, broad lighting, and butterfly lighting. Specify light quality as hard key light with soft fill or fully diffused overcast for different portrait moods. Include light source descriptions like window light from camera left or golden hour backlight for precise light direction. Create lighting that defines facial structure while maintaining flattering illumination. 4. Expression and Eye Detail — Direct natural, engaging expressions through careful prompt construction using terms like genuine smile with crinkled eyes or thoughtful expression with slight head tilt. Focus particular attention on eye rendering using prompts that specify detailed iris texture, catch light reflections, and accurate eye moisture. Include prompts for natural eye color variation and pupil size appropriate to the lighting conditions. Create the emotional connection through eye rendering that makes portraits compelling. 5. Hair Rendering Techniques — Generate realistic hair using prompts that specify individual strand detail, natural light interaction with hair, and the specific movement and volume qualities of different hair types. Include hair-specific negative prompts to avoid common SDXL hair artifacts like merged clumps, unnatural shine, and physics-defying positioning. Direct toward specific hair behaviors like loose strands catching backlight, natural parting patterns, and flyaway hairs at temples. Create hair that moves and catches light like real human hair. 6. Background and Depth of Field — Control portrait backgrounds through both prompting and post-generation techniques to create professional photographer-quality depth of field effects. Specify bokeh quality, background distance, and environmental context through prompt terms. Use SDXL native resolution and composition to create natural depth separation between subject and background. Include techniques for achieving creamy, circular bokeh with the smooth background blur of high-end portrait lenses.
Or press ⌘C to copy
Copy and paste into your favorite AI tool
Explore more AI Art prompts
Browse AI Art