Process Real Estate Photos

Enhance and standardize property listing photos with auto-contrast, sharpening, and consistent sizing.

Who this is for

Real estate agencies and property platforms use this recipe to standardize listing photos. Upload a property photo and apply auto-contrast, sharpening, and resize operations — ready for MLS listings with consistent quality across all properties.

curl -X POST https://api.iterationlayer.com/image-transformation/v1/transform \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file": {
      "type": "url",
      "name": "property-photo.jpg",
      "url": "https://example.com/property-photo.jpg"
    },
    "operations": [
      { "type": "resize", "width_in_px": 1920, "height_in_px": 1080, "fit": "cover" },
      { "type": "auto_contrast" },
      { "type": "sharpen", "sigma": 1.5 },
      { "type": "convert", "format": "jpeg", "quality": 90 }
    ]
  }'
import { IterationLayer } from "iterationlayer";
const client = new IterationLayer({ apiKey: "YOUR_API_KEY" });

const result = await client.transform({
  file: {
    type: "url",
    name: "property-photo.jpg",
    url: "https://example.com/property-photo.jpg",
  },
  operations: [
    { type: "resize", width_in_px: 1920, height_in_px: 1080, fit: "cover" },
    { type: "auto_contrast" },
    { type: "sharpen", sigma: 1.5 },
    { type: "convert", format: "jpeg", quality: 90 },
  ],
});

const imageBuffer = Buffer.from(result.data.buffer, "base64");
import base64

from iterationlayer import IterationLayer
client = IterationLayer(api_key="YOUR_API_KEY")

result = client.transform(
    file={
        "type": "url",
        "name": "property-photo.jpg",
        "url": "https://example.com/property-photo.jpg",
    },
    operations=[
        {"type": "resize", "width_in_px": 1920, "height_in_px": 1080, "fit": "cover"},
        {"type": "auto_contrast"},
        {"type": "sharpen", "sigma": 1.5},
        {"type": "convert", "format": "jpeg", "quality": 90},
    ],
)

with open("result.jpeg", "wb") as f:
    f.write(base64.b64decode(result["data"]["buffer"]))
package main

import il "github.com/iterationlayer/sdk-go"

client := il.NewClient("YOUR_API_KEY")

result, err := client.Transform(il.TransformRequest{
    File: il.NewFileFromURL("property-photo.jpg", "https://example.com/property-photo.jpg"),
    Operations: []il.TransformOperation{
        il.NewResizeOperation(1920, 1080, "cover"),
        {Type: "auto_contrast"},
        il.NewSharpenOperation(1.5),
        il.NewConvertOperation("jpeg"),
    },
})

Related Recipes

Start building in minutes

Free trial credits included. No credit card required.