← Back to PixelAPI · All docs · Blog

GharStage Real-Estate Visuals API NEW

A production-ready suite of APIs for Virtual Staging, Property Photo Cleanup, and 2D Floorplan-to-3D GLB extrusion. Optimized with CPU model offloading to deliver instant results at exactly 2x cheaper than market rates.

Designed for Proptech Developers & Portals. Automate listing preparation with low latency, clear pay-per-photo pricing, Vastu-compliant layouts, and simulated WhatsApp API webhooks.

Pricing & Cost Control Matrix

In accordance with our pricing policy, all endpoints are exactly 2x cheaper than the cheapest mainstream competitor. Below is the credit cost structure (1 credit = $0.001 USD):

Endpoint Feature Cheapest Competitor Price PixelAPI Price Credit Cost Cloud / Host Margins
Virtual Staging Spacely AI: $0.013 / image $0.0065 / image (approx ₹0.55) 6.5 credits SDXL + CPU Offload (<0.01GB GPU memory per run)
Photo Cleanup (Declutter/Sky) Picsart: $0.0096 / image $0.0048 / image (approx ₹0.41) 5.0 credits LaMa Inpainting / BiRefNet (<0.20GB GPU memory per run)
Floorplan to 3D Automated 3D Tools: $1.00 / file $0.50 / file (approx ₹42.50) 500.0 credits Procedural extrusion on CPU (0.00GB GPU memory)

POST/v1/real-estate/stage

Accepts a room photo and overlays high-fidelity furniture matching modern Indian and Vastu arrangements.

Request Parameters (Multipart Form)

FieldTypeRequiredDescription
room_imagefileyesBinary room photo (JPG/PNG, max 20MB).
room_typestringnoOne of: living_room, bedroom, kitchen, bathroom, office, dining_room (default: living_room).
design_stylestringnoOne of: modern_indian, vastu_compliant, minimalist, scandinavian, industrial, bohemian, traditional_indian, contemporary (default: modern_indian).
color_schemestringnoOptional color preferences (e.g. warm neutrals, gold accents).

Example Request

curl -X POST https://api.pixelapi.dev/v1/real-estate/stage \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "room_image=@empty_hall.jpg" \
  -F "room_type=living_room" \
  -F "design_style=vastu_compliant" \
  -F "color_scheme=beige and wood"

Example Response

{
  "generation_id": "764b19c9-58d3-4889-aa8b-f45a278912d0",
  "status": "queued",
  "credits_used": 6.5,
  "estimated_seconds": 30,
  "room_type": "living_room",
  "design_style": "vastu_compliant"
}

POST/v1/real-estate/cleanup

Performs decluttering, sky replacement, day-to-dusk lighting transitions, or perspective straightening.

Request Parameters (Multipart Form)

FieldTypeRequiredDescription
imagefileyesBinary source property photo (JPG/PNG, max 20MB).
cleanup_typestringyesOne of: declutter, sky_replace, day_to_dusk, perspective_correct.
maskfilenoBinary black-and-white mask for object removal (required only for custom declutter, else auto-detects clutter).

Example Request

curl -X POST https://api.pixelapi.dev/v1/real-estate/cleanup \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "image=@sunset_facade.jpg" \
  -F "cleanup_type=day_to_dusk"

Example Response

{
  "generation_id": "92f75a7c-3b98-4c9c-b19e-e8c187bf5e0c",
  "status": "queued",
  "credits_used": 5.0,
  "cleanup_type": "day_to_dusk",
  "estimated_seconds": 15
}

POST/v1/real-estate/floorplan-render

Extrudes a standard 2D floorplan drawing into an interactive 3D GLB space with styled furniture.

Request Parameters (Multipart Form)

FieldTypeRequiredDescription
imagefileyesBinary floorplan layout drawing (JPG/PNG, max 20MB).
interiorsbooleannoIf true, procedurally places styled furniture matching room classification (default: true).

Example Request

curl -X POST https://api.pixelapi.dev/v1/real-estate/floorplan-render \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "[email protected]" \
  -F "interiors=true"

Example Response

{
  "generation_id": "bf8c992f-7634-45aa-bb8e-a9d0f7a69c0d",
  "status": "queued",
  "credits_used": 500.0,
  "estimated_seconds": 15
}

POST/v1/real-estate/whatsapp-deliver

Simulates the WhatsApp Business API webhook delivery, forwarding a completed generation directly to the registered developer Telegram bot `@lensorabot_bot` for instant mobile review.

Request Parameters (Form URL-Encoded)

FieldTypeRequiredDescription
generation_idstringyesThe completed generation UUID (must have status completed).
phone_numberstringyesTarget phone number (e.g. +919988776655).

Example Request

curl -X POST https://api.pixelapi.dev/v1/real-estate/whatsapp-deliver \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "generation_id=764b19c9-58d3-4889-aa8b-f45a278912d0" \
  -d "phone_number=+919876543210"

Example Response

{
  "status": "success",
  "message": "Simulated WhatsApp delivery successfully sent to developer bot",
  "payload": {
    "recipient": "+919876543210",
    "generation_id": "764b19c9-58d3-4889-aa8b-f45a278912d0",
    "output_url": "https://api.pixelapi.dev/dl/764b19c9_staged.png",
    "timestamp": 1780801544
  }
}

Retrieving Results

To fetch the status and output of any running job, send a GET request to the general status endpoint. When complete, the result is served as a JPEG/PNG URL or a 3D GLB model download URL.

curl https://api.pixelapi.dev/v1/image/764b19c9-58d3-4889-aa8b-f45a278912d0 \
  -H "Authorization: Bearer YOUR_API_KEY"

Completed Response

{
  "generation_id": "764b19c9-58d3-4889-aa8b-f45a278912d0",
  "status": "completed",
  "output_url": "https://api.pixelapi.dev/dl/764b19c9_staged.png",
  "credits_used": 6.5,
  "elapsed_seconds": 28.65
}

Last reviewed: 2026-06-07. API version 1.1. Auto-healing concurrency locks active.