prithivMLmods/Qwen-Image-Edit-2511-Hyper-Realistic-Portrait

🤗 Hugging Face 来源image-to-imageapache-2.01.2 GBother✓ 4 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo prithivMLmods/Qwen-Image-Edit-2511-Hyper-Realistic-Portrait ./model-folder
需要做种者 →

Qwen-Image-Edit-2511-Hyper-Realistic-Portrait

Qwen-Image-Edit-2511-Hyper-Realistic-Portrait is an adapter LoRA developed for Qwen’s Qwen-Image-Edit-2511 image-to-image model, specifically designed to transform images into ultra-realistic, photorealistic face portraits with strict identity preservation. The model enhances pore-level skin textures, realistic moisture effects, and natural wet hair clumping while preserving original facial structure and details. It applies physically plausible lighting, natural eye reflections, and shallow depth of field to achieve a true photographic look without artificial smoothing or retouching. Strong visual consistency is maintained across lighting, shadows, color tones, and composition, ensuring results remain authentic and camera-realistic. This makes the model well suited for high-fidelity portrait generation where realism and identity accuracy are critical. Above are example outputs demonstrating the model’s ability to deliver high-quality, visually cohesive hyper-realistic portrait results.

[!important] Note: The face identity in the input image used for inference should be well defined to accurately reproduce a Hyper-Realistic Portrait (HRP).

Quick Start with Diffusers

Compatible with versions 2509 and 2511.

pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
from diffusers.utils import load_image

# Switch to "mps" for Apple devices
pipe = DiffusionPipeline.from_pretrained(
    "Qwen/Qwen-Image-Edit-2511",
    dtype=torch.bfloat16,
    device_map="cuda"
)

pipe.load_lora_weights("prithivMLmods/Qwen-Image-Edit-2511-Hyper-Realistic-Portrait")

prompt = "Transform into a hyper-realistic face portrait."

input_image = load_image(
    "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png"
)

image = pipe(image=input_image, prompt=prompt).images[0]

Trained on ModelScope.cn

Recommended: HRP_20.safetensors

Core Prompt

Transform the image into an ultra-realistic photorealistic portrait with strict identity preservation, facing straight to the camera. Enhance pore-level skin textures, realistic moisture effects, and natural wet hair clumping against the skin. Apply cool-toned soft-box lighting with subtle highlights and shadows, maintain realistic green-hazel eye catchlights without synthetic gloss, and preserve soft natural lip texture. Use shallow depth of field with a clean bokeh background, an 85mm macro photographic look, and raw photo grading without retouching to maintain realism and original details.

Trigger Prompt

Use the following prompt to activate the hyper-realistic portrait effect:

Transform into a hyper-realistic face portrait

Download Model

You can download the model files from the Files & versions tab: Download


reusable JSON

{
  "portrait_config": {
    "version": "1.0",
    "mode": "hyper_realistic_transformation",
    "aspect_ratio": "3:4"
  },
  "identity_preservation": {
    "reference_source": "uploaded_image",
    "matching_strength": 1.0,
    "facial_structure_lock": true,
    "feature_fidelity": "maximum"
  },
  "skin_rendering": {
    "texture_level": "pore_resolution",
    "detail_maps": [
      "micro_texture",
      "subsurface_scattering",
      "natural_imperfections"
    ],
    "finish": "matte_natural",
    "post_processing": "no_airbrushing"
  },
  "facial_features": {
    "eyes": {
      "color_mode": "preserve_natural",
      "enhancements": {
        "catchlights": "realistic_reflections",
        "iris_detail": "high",
        "clarity": "sharp"
      },
      "constraints": ["no_synthetic_gloss", "natural_moisture_only"]
    },
    "lips": {
      "texture": "natural_ridges",
      "moisture": "soft_gloss",
      "state": "slightly_parted",
      "detail": "fine_lines_visible"
    },
    "hair": {
      "state": "wet_saturated",
      "behavior": "natural_clumping",
      "strand_separation": true,
      "adherence": ["forehead", "temples", "neck"]
    }
  },
  "environmental_effects": {
    "moisture": {
      "sweat_layer": {
        "coverage": ["nose_bridge", "forehead", "upper_lip"],
        "intensity": "fine_mist",
        "appearance": "glistening"
      },
      "water_droplets": {
        "size": "micro",
        "distribution": ["cheekbones", "jawline", "temple"],
        "surface_tension": "realistic"
      }
    }
  },
  "lighting_setup": {
    "primary_light": {
      "type": "softbox_diffusion",
      "angle": 45,
      "intensity": "medium_high"
    },
    "color_temperature": "cool",
    "palette": {
      "primary": ["steel_blue", "soft_cyan"],
      "secondary": ["natural_skin_tones"],
      "accents": ["white", "light_grey"]
    },
    "shadows": {
      "softness": "high",
      "fill_ratio": 0.6
    }
  },
  "background": {
    "style": "minimalist_bokeh",
    "depth_of_field": "shallow",
    "colors": ["light_grey", "pure_white"],
    "blur_intensity": "high"
  },
  "camera_simulation": {
    "focal_length": "85mm",
    "aperture": "f/2.0",
    "focus": "eyes",
    "sensor_type": "full_frame",
    "style": "raw_photography"
  },
  "render_settings": {
    "engine": "photorealistic_cgi",
    "quality": "maximum",
    "anti_aliasing": "high",
    "color_depth": "16bit",
    "output_format": "uncompressed"
  },
  "constraints": {
    "no_artificial_smoothing": true,
    "preserve_natural_imperfections": true,
    "avoid_over_saturation": true,
    "maintain_realistic_proportions": true
  }
}

reusable PROMPT

Transform the image into an ultra-realistic photorealistic portrait with strict identity preservation, facing straight to the camera. Enhance pore-level skin textures, realistic moisture effects, and natural wet hair clumping against the skin. Apply cool-toned soft-box lighting with subtle highlights and shadows, maintain realistic green-hazel eye catchlights without synthetic gloss, and preserve soft natural lip texture. Use shallow depth of field with a clean bokeh background, an 85mm macro photographic look, and raw photo grading without retouching to maintain realism and original details.