Real Estate Final Edits - InstructPix2Pix

This model is a fine-tuned version of timbrooks/instruct-pix2pix specifically trained for final edits of real estate photography.

Model Description

This model performs advanced final edits on HDR-merged real estate photos to create MLS-ready images with:

  • Sky replacement and enhancement
  • Window pull corrections (fixing overexposed windows)
  • Shadow/highlight balancing
  • Edge preservation for crisp details
  • Professional-grade finishing touches

Key Features

  • Sky Enhancement: Automatically detects and improves sky regions
  • Window Correction: Fixes blown-out windows in interior shots
  • Shadow Brightening: Balanced shadow adjustment without over-brightening
  • Edge Preservation: Maintains sharp architectural details
  • Blue Cast Correction: Removes unwanted blue color casts

Usage

from diffusers import StableDiffusionInstructPix2PixPipeline
import torch
from PIL import Image

# Load model
pipeline = StableDiffusionInstructPix2PixPipeline.from_pretrained(
    "Linkt-AI/rgp-pix2pix-final-edits",
    torch_dtype=torch.float16,
    safety_checker=None,
    requires_safety_checker=False
).to("cuda")

# Load your HDR-merged image
image = Image.open("your_hdr_merged_photo.jpg").convert("RGB")

# Apply final edits
prompt = "Apply final professional edits to real estate photos for MLS listings"
negative_prompt = "over-processed, artificial looking, oversaturated colors, harsh shadows, blown highlights"

result = pipeline(
    prompt=prompt,
    negative_prompt=negative_prompt,
    image=image,
    num_inference_steps=50,
    guidance_scale=1.5,
    image_guidance_scale=1.5
).images[0]

Training Details

  • Base Model: timbrooks/instruct-pix2pix
  • Training Data: Professional real estate photography with expert final edits
  • Special Focus: Sky replacement, window pulls, shadow/highlight balance
  • Loss Functions: Advanced multi-component loss including:
    • Shadow-aware loss for balanced brightening
    • Sky-aware loss for upper region enhancement
    • Window-specific loss for overexposed areas
    • Edge-preserving loss for architectural details
    • Blue channel loss for color cast correction

Intended Use

This model is designed for:

  • Real estate photographers (post-HDR processing)
  • MLS listing preparation
  • Automated photo finishing pipelines
  • Professional property marketing
  • Final touches after HDR merge

Workflow Integration

This model is intended to be used as the final step in a real estate photo processing pipeline:

  1. HDR Merge (e.g., using Photomatix)
  2. Final Edits (this model)
  3. Export for MLS

Limitations

  • Designed specifically for HDR-merged real estate photos
  • Works best with properly exposed HDR source images
  • May not perform well on non-architectural subjects
  • Optimized for interior and exterior real estate photography
Downloads last month
136
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Linkt-AI/rgp-pix2pix-final-edits

Finetuned
(7)
this model